diff options
author | Timur Iskhodzhanov <timurrrr@google.com> | 2013-10-09 09:23:58 +0000 |
---|---|---|
committer | Timur Iskhodzhanov <timurrrr@google.com> | 2013-10-09 09:23:58 +0000 |
commit | 2cb17a06befb61b1434aaa991652fea4338c95d7 (patch) | |
tree | ab5b7621133bc0b5299ae38daf115f59e45dc11e /test/CodeGenCXX/microsoft-abi-virtual-inheritance.cpp | |
parent | eeac7a4bb4bf6b2bf423ec84eabcf179b9d7e4ea (diff) |
Reland 192220 "Abstract out parts of thunk emission code, add support for simple thunks when using -cxx-abi microsoft" with relaxed assertions
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192285 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/microsoft-abi-virtual-inheritance.cpp')
-rw-r--r-- | test/CodeGenCXX/microsoft-abi-virtual-inheritance.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGenCXX/microsoft-abi-virtual-inheritance.cpp b/test/CodeGenCXX/microsoft-abi-virtual-inheritance.cpp index 064a3ffda9..3805243c6a 100644 --- a/test/CodeGenCXX/microsoft-abi-virtual-inheritance.cpp +++ b/test/CodeGenCXX/microsoft-abi-virtual-inheritance.cpp @@ -93,3 +93,11 @@ void call_vbase_bar(B *obj) { // // CHECK: ret void } + +struct C : B { + C(); + // has an implicit vdtor. +}; + +// Used to crash on an assertion. +C::C() {} |