]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.martin/ambig1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.martin / ambig1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.martin/ambig1.C b/gcc/testsuite/g++.old-deja/g++.martin/ambig1.C
deleted file mode 100644 (file)
index 9886991..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-//Build don't link:
-//Based on a report by Bill Currie <bcurrie@tssc.co.nz>
-struct foo {
-  protected:
-    int x;        // ERROR - candidate
-};
-
-struct bar {
-  public:
-    int x();      // ERROR - candidate
-};
-
-struct foobar: public foo, public bar {
-  foobar();
-};
-
-int func(int);
-
-foobar::foobar()
-{
-    func(x);       // ERROR - ambiguous member access
-}