llvm-mirror/test/Regression/C++Frontend/2005-02-19-UnnamedVirtualThunkArgument.cpp
Chris Lattner a1c186fb07 Testcase for PR520
llvm-svn: 20248
2005-02-19 17:07:48 +00:00

23 lines
368 B
C++

// RUN: %llvmgxx -S %s -o /dev/null
struct Foo {
Foo();
virtual ~Foo();
};
struct Bar {
Bar();
virtual ~Bar();
virtual bool test(bool) const;
};
struct Baz : public Foo, public Bar {
Baz();
virtual ~Baz();
virtual bool test(bool) const;
};
bool Baz::test(bool) const {
return true;
}