OSDN Git Service

* g++.old-deja/g++.pt/static11.C: Add xtensa-*-elf* to the
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / spec5.C
1 // Build don't link:
2
3 template <class T>
4 void f(T t1, T t2);
5
6 template <>
7 void f(int i, int j);
8
9 template <class T>
10 void g(T t1, T t2) {}
11
12 template void g(int i, int j);
13
14 void h()
15 {
16   f(3, 'c'); // ERROR - no matching function
17   g(3, 'c'); // ERROR - no matching function
18 }
19
20