Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
empty1.c
blob: 89b2de1e903639f85bf165395b36c42b30f87af3 [
file
] [
log
] [
blame
]
/* { dg-do run } */
/* { dg-options "" } */
struct
S
{
int
:
0
;
};
union
U
{
int
:
0
;
};
int
main
()
{
if
(
__alignof__
(
struct
S
)
!=
__alignof__
(
union
U
))
return
1
;
return
0
;
}