Debian Codegraph @

gcc/testsuite/gcc.dg/c2y-align-1.c

raw
1 /* Test C2Y alignof on an incomplete array type. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c2y -pedantic-errors" } */
4
5 int a = alignof(int[]);
6 int b = alignof(int[][1]);