[RISCV] Add shrinkwrap test cases showing gaps in current impl
[llvm-project.git] / clang / test / CodeGenCXX / 2005-02-19-UnnamedVirtualThunkArgument.cpp
blob986001ada0daf01fbe6d834c02b606048a00c2b5
1 // RUN: %clang_cc1 -emit-llvm %s -o /dev/null
3 struct Foo {
4 Foo();
5 virtual ~Foo();
6 };
8 struct Bar {
9 Bar();
10 virtual ~Bar();
11 virtual bool test(bool) const;
14 struct Baz : public Foo, public Bar {
15 Baz();
16 virtual ~Baz();
17 virtual bool test(bool) const;
20 bool Baz::test(bool) const {
21 return true;