blob: 352b2fbaa8ed26361632bb5cbede60ed51a72248 [file] [log] [blame]
Saleem Abdulrasool278e1c42018-05-20 19:26:44 +00001// RUN: %clang_cc1 -triple thumbv7-unknown-windows-msvc -fobjc-exceptions -fobjc-runtime=ios -verify %s
2
3extern void g(void);
4void f() {
5 @try {
6 g();
7 } @catch (Class c) { // expected-error{{@catch parameter is not a pointer to an interface type}}
8 }
9}