* arm.c (FL_WBUF): Define.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.martin / ambig1.C
blob1ccc217a4772d6a583e8c623eef1579aa9f69d2f
1 // { dg-do assemble  }
2 //Based on a report by Bill Currie <bcurrie@tssc.co.nz>
3 struct foo {
4   protected:
5     int x;        // { dg-error "" } candidate
6 };
8 struct bar {
9   public:
10     int x();      // { dg-error "" } candidate
13 struct foobar: public foo, public bar {
14   foobar();
17 int func(int);
19 foobar::foobar()
21     func(x);       // { dg-error "" } ambiguous member access