aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.martin/ambig1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.martin/ambig1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.martin/ambig1.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.martin/ambig1.C b/gcc/testsuite/g++.old-deja/g++.martin/ambig1.C
index 3ee730ddc26..9886991e29b 100644
--- a/gcc/testsuite/g++.old-deja/g++.martin/ambig1.C
+++ b/gcc/testsuite/g++.old-deja/g++.martin/ambig1.C
@@ -2,12 +2,12 @@
//Based on a report by Bill Currie <bcurrie@tssc.co.nz>
struct foo {
protected:
- int x;
+ int x; // ERROR - candidate
};
struct bar {
public:
- int x();
+ int x(); // ERROR - candidate
};
struct foobar: public foo, public bar {