Update ChangeLog and version files for release
[official-gcc.git] / gcc / testsuite / g++.dg / template / call3.C
blobbbb6c7b3a2bdc4e7d04dae1759f6006943415c5f
1 // PR c++/18436
3 void foo(int);
5 struct A
7   static void foo(A);
8 };
10 template <typename T> struct B : T
12   B() { foo(T()); } // { dg-error "cannot convert" }
15 B<A> b;