PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / sfinae18.C
blobbbc39cb3ac0f3c50dbcdbfd529383583226b233a
1 // PR c++/41468
3 typedef int Ft(int);
4 struct A { operator Ft*(); };
5 struct B { operator Ft*(); };
6 struct C : A, B { };
8 template<typename C> void f(int (*a)[sizeof(C()(0))]);
9 template<typename C> void f(...);
10 int main() { f<C>(0); }