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
PR c++/16021
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
strong-using-3.C
blob
9b4d3c3ffea0695313f1e9298280a897370c8367
1
// PR c++/13659
2
3
// { dg-do compile }
4
5
namespace bar {
6
namespace foo {
7
template <class T> void f(T, T);
8
}
9
using namespace foo __attribute__((strong));
10
template <class T> void f(T);
11
}
12
13
int main() {
14
// Make sure both declarations are brought in.
15
using bar::f;
16
f(1);
17
f(1, 1);
18
}