mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-19 10:13:13 +00:00
Testcase for PR520
llvm-svn: 20248
This commit is contained in:
parent
d8100efca6
commit
a1c186fb07
@ -0,0 +1,22 @@
|
||||
// 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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user