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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
explicit8.C
blob
4b92dbe39e48db19e1937b54202ed7146257771c
1
namespace N {
2
template <typename T>
3
struct S {
4
void f() {}
5
};
6
namespace I {
7
template void S<double>::f(); // { dg-error "namespace" }
8
}
9
}
10
11
namespace K {
12
template void N::S<int>::f(); // { dg-error "namespace" }
13
}