repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge aosp-toolchain/gcc/gcc-4_9 changes.
[official-gcc.git]
/
gcc-4_9
/
gcc
/
testsuite
/
c-c++-common
/
Wunused-var-5.c
blob
747f58d04c090b1a432d9907d0d825308e583f1e
1
/* { dg-do compile } */
2
/* { dg-options "-Wunused" } */
3
4
void
5
f1
(
void
)
6
{
7
extern
int
extvari
;
8
extvari
=
1
;
9
}
10
11
int
extvarj
;
12
13
void
14
f2
(
void
)
15
{
16
extern
int
extvarj
;
17
extvarj
=
1
;
18
}
19
20
static int
extvark
;
21
22
void
23
f3
(
void
)
24
{
25
extern
int
extvark
;
26
extvark
=
1
;
27
}
28
29
int
30
f4
(
void
)
31
{
32
return
extvark
;
33
}