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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
ttp54.C
blob
a789e934ef1e65d5b6b4c43fa7e26263b693a904
1
// { dg-do assemble }
2
3
// Reported by Bruce Eckel <Bruce@EckelObjects.com>
4
5
// [temp.deduct.type]
6
// Make sure we treat <T> in the construct TT<T> as any type containing T.
7
8
template <class T> class C
9
{
10
};
11
12
template <class T, template <class> class TT> void f (TT<T *> &t)
13
{
14
}
15
16
int main ()
17
{
18
C<char *> c;
19
f(c);
20
}