OSDN Git Service

PR c++/49855
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / crash93.C
1 // PR c++/40371
2
3 struct A
4 {
5   typedef void (&F)();
6   template<int> operator F();
7 };
8
9 void foo()
10 {
11   A()(); // { dg-error "no match" }
12 }