OSDN Git Service

a977e2ffacf5b36eb0b5179cb2f2555e83eafc99
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.brendan / template22.C
1 // GROUPS passed templates
2 extern "C" int printf (const char *, ...);
3
4 template <class T>
5 class Foo
6 {
7 public:
8   void func (int const& i);
9 };
10
11 template <class T>
12 void Foo<T>::
13 func (int const& i)
14 {}
15
16
17 main ()
18
19   Foo<int const> foo;
20   printf ("PASS\n");
21   return 0;
22 }