* tree-ssa-loop-manip.c (split_loop_exit_edge): Return the new block.
[official-gcc.git] / gcc / testsuite / gcc.dg / pack-test-2.c
blob974d982c5055320abb20823d1afb5645bdbf7506
1 /* Tests for syntax checking of #pragma pack.
2 Contributed by Mike Coleman <mcoleman2@kc.rr.com> */
4 /* { dg-do compile { target *-*-linux* *-*-cygwin* powerpc*-*-eabi* } } */
6 #pragma pack(pop) /* { dg-error "without matching" } */
8 #pragma pack(push)
9 #pragma pack(pop) /* reset */
11 #pragma pack(push, foo, 1)
12 #pragma pack(pop, foo, 1) /* { dg-error "malformed" } (/
13 #pragma pack(pop) /* reset */
15 #pragma pack(push, foo, 1)
16 #pragma pack(pop, bar) /* { dg-error "without matching" } */
17 #pragma pack(pop) /* reset */
19 #pragma pack(push, foo, 1)
20 #pragma pack(pop)
21 #pragma pack(pop, foo) /* { dg-error "without matching" } */
23 #pragma pack(push, foo, 3) /* { dg-error "small power of two" } */
25 extern int blah; /* prevent "ISO C forbids an empty source file" */