diff options
Diffstat (limited to 'test/Parser/objc-try-catch-1.m')
-rw-r--r-- | test/Parser/objc-try-catch-1.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/objc-try-catch-1.m b/test/Parser/objc-try-catch-1.m index 0e8a91977d..255453135b 100644 --- a/test/Parser/objc-try-catch-1.m +++ b/test/Parser/objc-try-catch-1.m @@ -27,7 +27,7 @@ void * foo() return proc(); } @catch (Frob* ex) { - @throw 1,2; // expected-warning {{invalid 'int' argument (expected an ObjC object type)}} + @throw 1,2; // expected-error {{invalid 'int' argument (expected an ObjC object type)}} } @catch(...) { @throw (4,3,proc()); |