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
PR c++/7053
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
qualttp11.C
blob
fa5c860c5d210fd9d075a7c6418530599da4862b
1
// Copyright (C) 2001 Free Software Foundation
2
// Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3
// { dg-do link }
4
5
struct A
6
{
7
template <class T> class B {};
8
};
9
10
template <template <class> class TT> struct X
11
{
12
TT<int> y;
13
};
14
15
template <class T> struct C
16
{
17
X<T::template B> x;
18
};
19
20
int main()
21
{
22
C<A> c;
23
}