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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
template16.C
blob
9d5367995cf2ee419aedf1172d28409d123142a8
1
// Test that pushing into a namespace for a definition doesn't affect
2
// template instantiations.
3
4
// Build don't link:
5
6
namespace N {
7
template <class T> void f () { }
8
template <class T> struct A { friend void f<T>(); };
9
}
10
11
namespace M {
12
struct B;
13
}
14
15
struct M::B: public N::A<int> { };