Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr94172-2.c
blob: bb7b060d7b26c67bc0ab8abbefb9a1c4f6376335 [
file
] [
log
] [
blame
]
/* PR c/94172 */
/* { dg-do compile } */
/* { dg-options "-Os -g -fshort-enums" } */
extern
enum
E e
;
extern
void
bar
(
int
a
);
enum
E
{
F
};
void
foo
(
int
a
)
{
int
l
=
e
;
if
(
a
)
{
__asm
volatile
(
"nop"
);
l
=
0
;
}
bar
(
l
);
}