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
* g++.old-deja/g++.pt/static11.C: Add xtensa-*-elf* to the
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
ttp41.C
1
template<template<class> class D,class E> class C
2
{
3
public:
4
int g() { return 1; }
5
};
6
7
template<class T> class D
8
{
9
public:
10
int f();
11
};
12
13
template<class T> int D<T>::f()
14
{
15
C<D,D> c;
16
return c.g();
17
}
18
19
int main()
20
{
21
D<char> d;
22
d.f();
23
}