2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / template22.C
blob4301fad5234e58c40c291623f42c7978c47cdccd
1 // { dg-do run  }
2 // GROUPS passed templates
3 extern "C" int printf (const char *, ...);
5 template <class T>
6 class Foo
8 public:
9   void func (int const& i);
12 template <class T>
13 void Foo<T>::
14 func (int const& i)
18 int main ()
19
20   Foo<int const> foo;
21   printf ("PASS\n");
22   return 0;