Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.dg
/
noncompile
/
scope.c
blob: 67e136fd97daa5f1b6ac6318189a63c761e599c6 [
file
] [
log
] [
blame
]
extern
void
abort
(
void
);
extern
void
exit
(
int
);
static
int
v
=
3
;
void
f
()
{
int
v
=
4
;
{
extern
int
v
;
/* { dg-error "static" } */
if
(
v
!=
3
)
abort
();
}
}
int
main
()
{
f
();
exit
(
0
);
}