diff options
author | Anders Carlsson <andersca@mac.com> | 2011-02-19 19:23:03 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2011-02-19 19:23:03 +0000 |
commit | e41721e7dfabcc15cb50be9075a4153f1ad648ea (patch) | |
tree | 81dd9c105b254d13ee60dfea27bec414541c975c /test/CodeGenCXX/throw-expressions.cpp | |
parent | f4b793ceb60418b64d3593ba3c8240e3594bff8f (diff) |
Pass -fexceptions to all tests that use try/catch/throw.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126037 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/throw-expressions.cpp')
-rw-r--r-- | test/CodeGenCXX/throw-expressions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/throw-expressions.cpp b/test/CodeGenCXX/throw-expressions.cpp index f41d35ec37..1d22ec05c3 100644 --- a/test/CodeGenCXX/throw-expressions.cpp +++ b/test/CodeGenCXX/throw-expressions.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -emit-llvm-only -verify %s -Wno-unreachable-code +// RUN: %clang_cc1 -fexceptions -emit-llvm-only -verify %s -Wno-unreachable-code int val = 42; int& test1() { |