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