summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/expr/expr.unary/expr.unary.noexcept/cg.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2011-02-28 00:40:07 +0000
committerAnders Carlsson <andersca@mac.com>2011-02-28 00:40:07 +0000
commit6774b1f1c1fb325bc3d2f426dcdbd725ec3c9d73 (patch)
tree83eb1dc78fdfc387a8a9b29f58cd3d190ebcc94a /clang/test/CXX/expr/expr.unary/expr.unary.noexcept/cg.cpp
parent6dc07d4e5664af913b552a5e8cd3bd689e344f55 (diff)
downloadbcm5719-llvm-6774b1f1c1fb325bc3d2f426dcdbd725ec3c9d73.tar.gz
bcm5719-llvm-6774b1f1c1fb325bc3d2f426dcdbd725ec3c9d73.zip
Add -fcxx-exceptions to all tests that use C++ exceptions.
llvm-svn: 126599
Diffstat (limited to 'clang/test/CXX/expr/expr.unary/expr.unary.noexcept/cg.cpp')
-rw-r--r--clang/test/CXX/expr/expr.unary/expr.unary.noexcept/cg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CXX/expr/expr.unary/expr.unary.noexcept/cg.cpp b/clang/test/CXX/expr/expr.unary/expr.unary.noexcept/cg.cpp
index 6aec3a2781e..67d853a287f 100644
--- a/clang/test/CXX/expr/expr.unary/expr.unary.noexcept/cg.cpp
+++ b/clang/test/CXX/expr/expr.unary/expr.unary.noexcept/cg.cpp
@@ -1,6 +1,6 @@
-// RUN: %clang_cc1 -fexceptions -triple x86_64-apple-darwin10 -S -emit-llvm -std=c++0x -include %S/ser.h %s -o - | FileCheck %s
-// RUN: %clang_cc1 -fexceptions -triple x86_64-apple-darwin10 -emit-pch -o %t-ser.pch -std=c++0x -x c++ %S/ser.h
-// RUN: %clang_cc1 -fexceptions -triple x86_64-apple-darwin10 -S -emit-llvm -std=c++0x -include-pch %t-ser.pch %s -o - | FileCheck %s
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -triple x86_64-apple-darwin10 -S -emit-llvm -std=c++0x -include %S/ser.h %s -o - | FileCheck %s
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -triple x86_64-apple-darwin10 -emit-pch -o %t-ser.pch -std=c++0x -x c++ %S/ser.h
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -triple x86_64-apple-darwin10 -S -emit-llvm -std=c++0x -include-pch %t-ser.pch %s -o - | FileCheck %s
struct D {
~D() throw();
OpenPOWER on IntegriCloud