commit | 9a3be4cfdf7858b2467f57448ab99f72a2926b35 | [log] [tgz] |
---|---|---|
author | Timur Iskhodzhanov <timurrrr@google.com> | Wed Oct 02 16:03:16 2013 +0000 |
committer | Timur Iskhodzhanov <timurrrr@google.com> | Wed Oct 02 16:03:16 2013 +0000 |
tree | dc1dc630136269b358021e47ded161c3983d7544 | |
parent | 72c26c0d47eb850db18b784403260bce0632c478 [diff] [blame] |
Fix crashes when creating global instances of polymorphic classes without fields Reviewed at http://llvm-reviews.chandlerc.com/D1795 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191839 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/destructor-exception-spec.cpp b/test/CodeGenCXX/destructor-exception-spec.cpp index 579daef..e111ba0 100644 --- a/test/CodeGenCXX/destructor-exception-spec.cpp +++ b/test/CodeGenCXX/destructor-exception-spec.cpp
@@ -1,4 +1,6 @@ // RUN: %clang_cc1 -emit-llvm-only %s -std=c++11 +// RUN: %clang_cc1 -emit-llvm-only -fno-use-cxa-atexit %s -std=c++11 +// RUN: %clang_cc1 -cxx-abi microsoft -fno-rtti -emit-llvm-only %s -std=c++11 // PR13479: don't crash with -fno-exceptions. namespace {