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
2001-02-26 Jeffrey Oldham <oldham@codesourcery.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
typename4.C
1
// Build don't link:
2
// Special g++ Options:
3
4
template <class T>
5
struct A
6
{
7
typedef T A_Type;
8
};
9
10
11
template <class U>
12
struct B : public A<U>
13
{
14
};
15
16
17
template <class U>
18
struct C : public B<U>
19
{
20
A_Type Func();
21
};
22
23
24
template <class U>
25
C<U>::A_Type C<U>::Func()
26
{
27
}