Debian Codegraph @

gcc/testsuite/gcc.dg/c23-tag-9.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-std=c23" } */
3
4 struct foo { int x; } x;
5 struct foo { alignas(128) int x; } y; /* { dg-error "redefinition" } */
6 static_assert(alignof(y) == 128);
7
8