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