commit | e41721e7dfabcc15cb50be9075a4153f1ad648ea | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Sat Feb 19 19:23:03 2011 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Sat Feb 19 19:23:03 2011 +0000 |
tree | 81dd9c105b254d13ee60dfea27bec414541c975c | |
parent | f4b793ceb60418b64d3593ba3c8240e3594bff8f [diff] [blame] |
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
diff --git a/test/CodeGenCXX/nrvo.cpp b/test/CodeGenCXX/nrvo.cpp index ecf6afd..d03b21b 100644 --- a/test/CodeGenCXX/nrvo.cpp +++ b/test/CodeGenCXX/nrvo.cpp
@@ -132,6 +132,7 @@ exit(1); } +#ifdef __EXCEPTIONS // CHECK-EH: define void @_Z5test5 void may_throw(); X test5() { @@ -144,3 +145,4 @@ return x; } } +#endif