OSDN Git Service

485594dfbe31fd871356e3bf152dfdf09df51406
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / expr1.C
1 // { dg-do assemble  }
2
3 // Simplified from bug report by Trevor Taylor <ttaylor@powerup.com.au>
4
5 struct T {
6   int operator()(int) { } // { dg-message "candidate is" }
7 };
8
9 int main() {
10   T()(); // { dg-error "match" } no such operator
11 }