1 // RUN: clang-cc %s -verify -fsyntax-only
5 // Note: NSException is not declared.
8 } @catch (NSException *x) { // expected-error {{unknown type name 'NSException'}}
9 } @catch (struct some_struct x) { // expected-error {{@catch parameter is not a pointer to an interface type}}
10 } @catch (int x) { // expected-error {{@catch parameter is not a pointer to an interface type}}