// PR c++/67257 // { dg-do compile { target c++14 } } template struct plus; template struct A { template auto operator()(T); } foldl; // { dg-error "" } void foo() { foldl>(0); } // { dg-prune-output "not declared" } // { dg-prune-output "expected" }