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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
ttp13.C
blob
dd8675af3ae07cf8b2ff627a61f7d7e307418acf
1
// { dg-do run }
2
template<class T> class D
3
{
4
public:
5
int f();
6
};
7
8
template<class T> int D<T>::f()
9
{
10
return sizeof(T);
11
}
12
13
template<template<class> class D,class E> class C
14
{
15
D<E> d;
16
public:
17
int f();
18
};
19
20
template<template<class> class D,class E> int C<D,E>::f()
21
{
22
return d.f();
23
}
24
25
int main()
26
{
27
C<D,int> c;
28
c.f();
29
}