OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2004-06-13 Eric Christopher <echristo@redhat.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
noncompile
/
scope.c
1
static int v = 3;
2
3
f ()
4
{
5
int v = 4;
6
{
7
extern int v; /* { dg-error "static" } */
8
if (v != 3)
9
abort ();
10
}
11
}
12
13
main ()
14
{
15
f ();
16
exit (0);
17
}