this patch accomodates clattner's comments on expression processing in @try-statement.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42611 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Parser/objc-try-catch-1.m b/test/Parser/objc-try-catch-1.m
index f4a1201..6a0acd1 100644
--- a/test/Parser/objc-try-catch-1.m
+++ b/test/Parser/objc-try-catch-1.m
@@ -1,3 +1,5 @@
+// RUN: clang -fsyntax-only -verify %s
+
void * proc();
@interface Frob
@@ -22,7 +24,7 @@
return proc();
}
@catch (Frob* ex) {
- @throw;
+ @throw 1,2;
}
@catch(...) {
@throw (4,3,proc());