10 lines · plain
1// RUN: %clang_cc1 -triple thumbv7-unknown-windows-msvc -fobjc-exceptions -fobjc-runtime=ios -verify %s2 3extern void g(void);4void f(void) {5 @try {6 g();7 } @catch (Class c) { // expected-error{{@catch parameter is not a pointer to an interface type}}8 }9}10