OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / sfinae18.C
1 // PR c++/41468
2
3 typedef int Ft(int);
4 struct A { operator Ft*(); };
5 struct B { operator Ft*(); };
6 struct C : A, B { };
7
8 template<typename C> void f(int (*a)[sizeof(C()(0))]);
9 template<typename C> void f(...);
10 int main() { f<C>(0); }