call.c (struct conversion_info): Rename 'from_type' to 'from'.
[gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / explicit67.C
1 // { dg-do assemble }
2 struct S
3 {
4 void f(int);
5 void f(double);
6 };
7
8 void g(int);
9 void g(double);
10
11 template <int* IP>
12 void foo(); // { dg-message "note" }
13 template <long l>
14 void foo(); // { dg-message "note" }
15
16 void bar()
17 {
18 foo<S::f>(); // { dg-error "" } no matching function
19 foo<g>(); // { dg-error "" } no matching function
20
21 }