]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.old-deja/g++.other/expr1.C
call.c (struct conversion_info): Rename 'from_type' to 'from'.
[thirdparty/gcc.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 "operator|candidate expects" }
7 };
8
9 int main() {
10 T()(); // { dg-error "match" } no such operator
11 }