blob: 853fee7dcf30a6330f6ef7ef080ecb42ccfea3f4 [file] [log] [blame]
Chris Lattnere8dfeed2005-02-19 17:07:48 +00001// RUN: %llvmgxx -S %s -o /dev/null
2
Misha Brukmanfd939082005-04-21 23:48:37 +00003struct Foo {
4 Foo();
5 virtual ~Foo();
6};
7
8struct Bar {
9 Bar();
10 virtual ~Bar();
11 virtual bool test(bool) const;
12};
13
14struct Baz : public Foo, public Bar {
15 Baz();
16 virtual ~Baz();
17 virtual bool test(bool) const;
18};
19
20bool Baz::test(bool) const {
21 return true;
22}