PR target/55146
[official-gcc.git] / gcc / testsuite / gcc.dg / empty1.c
blob89b2de1e903639f85bf165395b36c42b30f87af3
1 /* { dg-do run } */
2 /* { dg-options "" } */
4 struct S { int : 0; };
5 union U { int : 0; };
7 int main () {
8 if (__alignof__ (struct S) != __alignof__ (union U))
9 return 1;
10 return 0;