Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr53532.c
blob: 9caea40be9c52ed2db1710b1d877632e828dafac [
file
] [
log
] [
blame
]
/* PR c/53532 */
/* { dg-do compile } */
/* { dg-options "" } */
struct
S
{};
extern
int
foo
(
struct
S
);
int
main
()
{
foo
((
struct
T
)
{});
/* { dg-error "invalid use of undefined type" } */
return
0
;
}