mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-21 11:10:12 +00:00
4572ce85b0
llvm-svn: 33296
23 lines
328 B
C++
23 lines
328 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;
|
|
}
|