repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
strong-using-1.C
blob
3d63f25b8b2c58c81c3d3cf56025f7b142841951
1
// PR c++/13594 (secondary)
2
3
// { dg-do compile }
4
5
namespace foo {
6
template <class T> void swap(T, T);
7
}
8
namespace fool {
9
using namespace foo __attribute__((strong));
10
template <class T> void swap(T);
11
}
12
13
int main() {
14
// we used to fail to look up the associated namespace here
15
fool::swap(1, 1);
16
}