Fix <rdar://problem/6243503> [sema] @throw; accepted outside catch block.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64318 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaObjC/try-catch.m b/test/SemaObjC/try-catch.m
index 00f1129..bb8b849 100644
--- a/test/SemaObjC/try-catch.m
+++ b/test/SemaObjC/try-catch.m
@@ -39,5 +39,5 @@
int foo() {
@throw 42; // expected-warning {{invalid 'int' argument (expected an ObjC object type)}}
- @throw; // FIXME: error: ‘@throw’ (rethrow) used outside of a @catch block
+ @throw; // expected-error {{‘@throw’ (rethrow) used outside of a @catch block}}
}