FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / template22.C
blob28c70b343014ac2e1bc4bf22a659ac24a98a35ce
1 // GROUPS passed templates
2 extern "C" int printf (const char *, ...);
4 template <class T>
5 class Foo
7 public:
8   void func (int const& i);
9 };
11 template <class T>
12 void Foo<T>::
13 func (int const& i)
17 int main ()
18
19   Foo<int const> foo;
20   printf ("PASS\n");
21   return 0;