* c-common.c (get_priority): Add check for
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / spec5.C
blob821880cc3a0d39bdc05a80ef85956cb6eb953480
1 // { dg-do assemble  }
3 template <class T>
4 void f(T t1, T t2);
6 template <>
7 void f(int i, int j);
9 template <class T>
10 void g(T t1, T t2) {}
12 template void g(int i, int j);
14 void h()
16   f(3, 'c'); // { dg-error "" } no matching function
17   g(3, 'c'); // { dg-error "" } no matching function