OSDN Git Service

* cp-tree.h (TI_PENDING_SPECIALIZATION_FLAG): Remove.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / explicit13.C
1 // Build don't run:
2 // GROUPS passed templates
3
4 template <class U>
5 struct S 
6 {
7   template <class T>
8   void foo(T t);
9
10   template <class T>
11   void bar(T t) { this->template foo<U>(3.74); }
12 };
13
14 template <>
15 template <>
16 void S<int>::foo(int) { }
17
18 int main()
19 {
20   S<int> s;
21   s.bar(3);
22 }