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
gcc/ChangeLog:
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-var-18.C
blob
0339663721ce1c900d70c0628bebd3ed35fb9647
1
// Origin: PR c++/29028
2
// { dg-options "-Wunused" }
3
// { dg-do compile }
4
5
namespace N
6
{
7
int i; // { dg-warning "unused variable" }
8
}
9
10
void
11
f ()
12
{
13
using N::i;
14
}