OSDN Git Service

* typeck2.c (abstract_virtual_errors): Reword diagnostics, make them
[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-error "" } candidate
7 };
8
9 int main() {
10   T()(); // { dg-error "" } no such operator
11 }