OSDN Git Service

2001-02-26 Jeffrey Oldham <oldham@codesourcery.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / typename3.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   A_Type Func();
15 };
16
17
18 template <class U>
19 B<U>::A_Type B<U>::Func()
20 {
21 }