AArch64: implement TARGET_VECTORIZE_CONDITIONAL_OPERATION_IS_EXPENSIVE [PR115531].
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20000722-1.c
blobb1b58fd7fc540565aa93f8d0a1170ec2793f6463
1 void abort (void);
2 void exit (int);
4 struct s { char *p; int t; };
6 extern void bar (void);
7 extern void foo (struct s *);
9 int main(void)
11 bar ();
12 bar ();
13 exit (0);
16 void
17 bar (void)
19 foo (& (struct s) { "hi", 1 });
22 void foo (struct s *p)
24 if (p->t != 1)
25 abort();
26 p->t = 2;