f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
22 lines
338 B
C++
22 lines
338 B
C++
// RUN: %clang_cc1 -emit-llvm %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;
|
|
}
|