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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
template16.C
blob
c07cb4486208dd51652743c52c015a28e45ed2d5
1
// { dg-do assemble }
2
// Test that pushing into a namespace for a definition doesn't affect
3
// template instantiations.
4
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> { };