aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/ambig1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/ambig1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/ambig1.C12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/ambig1.C b/gcc/testsuite/g++.old-deja/g++.other/ambig1.C
index 04e4afa1205..d6574a2b79c 100644
--- a/gcc/testsuite/g++.old-deja/g++.other/ambig1.C
+++ b/gcc/testsuite/g++.old-deja/g++.other/ambig1.C
@@ -1,15 +1,15 @@
// Build don't link:
struct A {
- int operator ++();
- void operator ()();
- void operator delete(void*);
+ int operator ++(); // ERROR - candidates
+ void operator ()(); // ERROR - candidates
+ void operator delete(void*); // ERROR - candidates
};
struct B {
- int operator ++(int);
- void operator ()();
- void operator delete(void*);
+ int operator ++(int); // ERROR - candidates
+ void operator ()(); // ERROR - candidates
+ void operator delete(void*); // ERROR - candidates
void f();
};