blob: a9d927b3f6036c8257be3a5b5677c947f4c6d53b [file] [log] [blame]
/* { dg-do compile } */
typedef double d_type;
struct
{
d_type x;
d_type y;
} S[100];
#define N 16
d_type foo (d_type t);
d_type
main1 ()
{
int i;
d_type t;
for (i = 0; i < N; i++)
{
t = (d_type) i / (d_type) 10;
S[5].x = t * t;
}
return S[5].x;
}
int
main (void)
{
d_type tmp = main1 ();
}
/* { dg-final { cleanup-tree-dump "vect" } } */