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
predicate aware uninitialized analysis
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
strong-using-1.C
blob
739dc936e405e8d010cd035f29b9b7b2a576bb18
1
// PR c++/13594 (secondary)
2
3
// { dg-do compile }
4
5
namespace fool {
6
inline namespace foo {
7
template <class T> void swap(T, T);
8
}
9
template <class T> void swap(T);
10
}
11
12
int main() {
13
// we used to fail to look up the associated namespace here
14
fool::swap(1, 1);
15
}