1 // RUN: clang -cc1 %s -fsyntax-only -verify
3 __attribute__((__objc_exception__))
4 @interface NSException {
11 __attribute__((__objc_exception__)) // expected-error {{attribute may only be applied to an Objective-C interface}}
14 __attribute__((__objc_exception__)) // expected-error {{attribute may only be applied to an Objective-C interface}}