Mercurial > hg > CbC > CbC_llvm
annotate clang/test/CodeGenCXX/2005-02-19-UnnamedVirtualThunkArgument.cpp @ 206:f17a3b42b08b
Added tag before-12 for changeset b7591485f4cd
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 07 Jun 2021 21:25:57 +0900 |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
150 | 1 // RUN: %clang_cc1 -emit-llvm %s -o /dev/null |
2 | |
3 struct Foo { | |
4 Foo(); | |
5 virtual ~Foo(); | |
6 }; | |
7 | |
8 struct Bar { | |
9 Bar(); | |
10 virtual ~Bar(); | |
11 virtual bool test(bool) const; | |
12 }; | |
13 | |
14 struct Baz : public Foo, public Bar { | |
15 Baz(); | |
16 virtual ~Baz(); | |
17 virtual bool test(bool) const; | |
18 }; | |
19 | |
20 bool Baz::test(bool) const { | |
21 return true; | |
22 } |