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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
qualttp9.C
blob
8d90dabde7ca6e4a4fdd3937bca68dd4670d688b
1
// Copyright (C) 2001 Free Software Foundation
2
// Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3
// { dg-do compile }
4
5
template <template <class> class TT> class C {
6
};
7
8
template <class T> struct D : T {
9
C<T::template B> c;
10
};
11
12
struct E {
13
protected:
14
template <class T> class B {};
15
};
16
17
D<E> d;