summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/implicit-exception-spec.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-08-20 17:59:23 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-08-20 17:59:23 +0000
commit9a83721404652cea39e9f02ae3e3b5c964602a5c (patch)
tree23e9541ce27049a103f6ed046be61592123e02c9 /test/CodeGenCXX/implicit-exception-spec.cpp
parent676fbe8105eeb6ff4bb2ed261cb212fcfdbe7b63 (diff)
Notes
Diffstat (limited to 'test/CodeGenCXX/implicit-exception-spec.cpp')
-rw-r--r--test/CodeGenCXX/implicit-exception-spec.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/test/CodeGenCXX/implicit-exception-spec.cpp b/test/CodeGenCXX/implicit-exception-spec.cpp
deleted file mode 100644
index e1a969ab277fc..0000000000000
--- a/test/CodeGenCXX/implicit-exception-spec.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
-// RUN: %clang_cc1 %s -triple=x86_64-linux-gnu -emit-llvm -std=c++11 -o - -fcxx-exceptions -fexceptions | FileCheck %s
-
-struct A {
- A();
- A(const A&);
- A(A&&);
-};
-struct B : virtual A {
- virtual void f() = 0;
-};
-struct C : B {
- void f();
-};
-
-// CHECK-DAG: define {{.*}} @_ZN1BC2Ev({{.*}} #[[NOUNWIND:[0-9]*]]
-C c1;
-// CHECK-DAG: define {{.*}} @_ZN1BC2ERKS_({{.*}} #[[NOUNWIND]]
-C c2(c1);
-// CHECK-DAG: define {{.*}} @_ZN1BC2EOS_({{.*}} #[[NOUNWIND]]
-C c3(static_cast<C&&>(c1));
-
-// CHECK-DAG: #[[NOUNWIND]] = {{{.*}} nounwind