brintos

brintos / llvm-project-archived public Read only

0
0
Text · 264 B · 9903d93 Raw
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