libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / c23-tag-7.c
blobdd3b5988e24a7eb6fa7f35e5bde58af2b1684436
1 /*
2 * { dg-do compile }
3 * { dg-options "-std=c23" }
4 */
6 // recursive declarations
8 extern struct bar { struct bar* p; int x; } b;
9 extern struct bar { struct bar* p; int x; } b;
11 struct foo { struct foo { struct foo* p; int x; }* p; int x; } a; /* { dg-error "nested" } */