Sign in
gnu
/
gcc
/
2ce0608ca3dca30518bec525c435f7bc4d7f9b70
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr101171.c
blob: 8d2bcabd3e4c986b677c6ec6a2f90bd9f99955db [
file
] [
log
] [
blame
]
/* PR c/101171 */
/* { dg-do compile } */
/* { dg-options "" } */
extern
void
foo
(
void
);
int
x
=
0x1234
;
void
bar
(
void
)
{
if
(
x
!=
(
sizeof
((
enum
T
)
0x1234
)))
/* { dg-error "conversion to incomplete type" } */
foo
();
}