1 2 3 4 5 6 7 8 9 10 11
// { dg-do assemble } // Simplified from bug report by Trevor Taylor <ttaylor@powerup.com.au> struct T { // { dg-message "candidate" } int operator()(int) { } // { dg-message "operator|candidate expects" } }; int main() { T()(); // { dg-error "match" } no such operator }