* tree-ssa-loop-manip.c (split_loop_exit_edge): Return the new block.
[official-gcc.git] / gcc / testsuite / gcc.dg / anon-struct-3.c
blob3ed6e672bd5aecbd0f96fd8e2161163f1b6a7d8d
1 /* { dg-options "-std=gnu89 -fms-extensions" } */
2 /* Enabling Microsoft mode makes all of the tests equivalent. Checked vs
3 Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
4 */
6 struct A { char a; };
8 struct B {
9 struct A;
10 char b;
12 char testB[sizeof(struct B) == 2 * sizeof(struct A) ? 1 : -1];
14 struct C {
15 struct D { char d; };
16 char c;
18 char testC[sizeof(struct C) == 2 * sizeof(struct A) ? 1 : -1];
19 char testD[sizeof(struct D) == sizeof(struct A) ? 1 : -1];
21 struct E {
22 struct { char z; };
23 char e;
25 char testE[sizeof(struct E) == 2 * sizeof(struct A) ? 1 : -1];
27 typedef struct A typedef_A;
28 struct F {
29 typedef_A;
30 char f;
32 char testF[sizeof(struct F) == 2 * sizeof(struct A) ? 1 : -1];