Training courses
Kernel and Embedded Linux
Bootlin training courses
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
// 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; }