* c-common.c (get_priority): Add check for
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / explicit67.C
blobf216a01416968d1b5f9952bc1a9436b2854ae03b
1 // { dg-do assemble  }
2 struct S
4   void f(int);
5   void f(double);
6 };
8 void g(int);
9 void g(double);
11 template <int* IP>
12 void foo();
13 template <long l>
14 void foo();
16 void bar()
18   foo<S::f>(); // { dg-error "" } no matching function
19   foo<g>();    // { dg-error "" } no matching function
20