2009-04-08 06:56:58 +08:00
|
|
|
// RUN: clang-cc %s -verify -fsyntax-only
|
|
|
|
|
|
|
|
// Note: NSException is not declared.
|
|
|
|
void f0(id x) {
|
|
|
|
@try {
|
2009-04-13 07:27:53 +08:00
|
|
|
} @catch (NSException *x) { // expected-error{{unknown type name 'NSException'}}
|
2009-04-08 06:56:58 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|