OSDN Git Service

* decl.c (compute_array_index_type): Don't try to do anything with
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / typename11.C
1 // Build don't link:
2 // Special g++ Options:
3
4 template <class T, int I>
5 struct S {
6   struct X {};
7 };
8
9 template <class T, class U, int I>
10 S<T,I>::X f(T, U)
11 {
12   S<T, I>::X();
13   return S<T, I>::X();
14 }
15
16 template S<int, 3>::X f<int, double, 3>(int, double);