Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.dg
/
empty2.c
blob: 54b98f6f0b3be7da1bff9ac4b97e91d5c8ef82c0 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
double
d
=
0
;
struct
A
{}
a
;
/* { dg-warning "(has no members)" } */
void
foo
(
struct
A x
)
{
d
=
0
;
}
void
bar
()
{
if
(
d
)
foo
(
a
);
}