diff options
Diffstat (limited to 'test/SemaObjC/no-objc-exceptions.m')
-rw-r--r-- | test/SemaObjC/no-objc-exceptions.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjC/no-objc-exceptions.m b/test/SemaObjC/no-objc-exceptions.m index 78419a2..d47f51a 100644 --- a/test/SemaObjC/no-objc-exceptions.m +++ b/test/SemaObjC/no-objc-exceptions.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fno-objc-exceptions -fsyntax-only -verify %s +// RUN: %clang_cc1 -fsyntax-only -verify %s void f() { @throw @"Hello"; // expected-error {{cannot use '@throw' with Objective-C exceptions disabled}} |