[RS6000] dg-do !compile and scan-assembler
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr55033.c
blob5bdfcf23e742c3c0911b365d0f3dd56b8ea5e150
1 /* { dg-do compile } */
2 /* { dg-require-effective-target powerpc_eabi_ok } */
3 /* { dg-options "-mdejagnu-cpu=8540 -msoft-float -meabi -msdata=eabi -G 8 -fno-common" } */
5 extern void f (void);
7 struct s
9 int *p;
10 int *q;
13 extern int a;
15 extern const struct s c;
17 const struct s c = { &a, 0 };
19 void
20 f (void)
22 char buf[4] = { 0, 1, 2, 3 };