blob: 696a04a07866872fef9b04066169a39efed43b87 [file] [log] [blame]
// PR c++/40371
struct A
{
typedef void (&F)();
template<int> operator F();
};
void foo()
{
A()(); // { dg-error "no match" }
}