Debian Codegraph @

gcc/testsuite/g++.dg/template/crash93.C

raw
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 }