Commit 3add5845 by Martin v. Löwis

New test case

From-SVN: r22501
parent 27c7a08d
//Build don't link:
//Based on a report by Bill Currie <bcurrie@tssc.co.nz>
struct foo {
protected:
int x;
};
struct bar {
public:
int x();
};
struct foobar: public foo, public bar {
foobar();
};
int func(int);
foobar::foobar()
{
func(x); // ERROR - ambiguous member access
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment