aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/ms-eh-personality.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenCXX/ms-eh-personality.cpp')
-rw-r--r--test/CodeGenCXX/ms-eh-personality.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/CodeGenCXX/ms-eh-personality.cpp b/test/CodeGenCXX/ms-eh-personality.cpp
deleted file mode 100644
index 592ab69efaf2..000000000000
--- a/test/CodeGenCXX/ms-eh-personality.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-// RUN: %clang_cc1 -triple x86_64-windows-msvc -fexceptions -fcxx-exceptions %s -emit-llvm -o - | FileCheck %s --check-prefix=MSVC
-// RUN: %clang_cc1 -triple x86_64-windows-msvc -fexceptions -fcxx-exceptions -fsjlj-exceptions %s -emit-llvm -o - | FileCheck %s --check-prefix=SJLJ
-// RUN: %clang_cc1 -triple x86_64-windows-msvc -fexceptions -fcxx-exceptions -fseh-exceptions %s -emit-llvm -o - | FileCheck %s --check-prefix=MSVC
-// RUN: %clang_cc1 -triple x86_64-windows-msvc -fexceptions -fcxx-exceptions -fdwarf-exceptions %s -emit-llvm -o - | FileCheck %s --check-prefix=DWARF
-
-// MSVC: define void @f(){{.*}}@__CxxFrameHandler3
-// SJLJ: define void @f(){{.*}}@__gxx_personality_sj0
-// DWARF: define void @f(){{.*}}@__gxx_personality_v0
-
-struct Cleanup {
- Cleanup();
- ~Cleanup();
- int x = 0;
-};
-
-void g();
-extern "C" void f() {
- Cleanup c;
- g();
-}