OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2010-02-21 Manuel López-Ibáñez <manu@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
member3.C
1
template<typename T>
2
struct A {
3
template<typename L> struct SubA { };
4
5
template<typename T1,typename L> void f(T1 & t1, SubA<L> & t2) { }
6
template<typename U> void g(SubA<U> & suba) { }
7
template<typename U> void h(SubA<U> & suba) { }
8
};
9
10
int main(void) {
11
int i;
12
A<int> a;
13
A<int>::SubA<int> suba;
14
15
a.f(i,suba);
16
a.g(suba);
17
a.h(suba);
18
}
19