brintos

brintos / llvm-project-archived public Read only

0
0
Text · 216 B · d639fac Raw
10 lines · plain
1// RUN: %clang -fexceptions -S -emit-llvm %s -o /dev/null -pedantic-errors2 3void foo(const unsigned short *);4void bar(void) {5  unsigned short *s[3];6  int i;7  @try { } @catch (id anException) { }8  foo(2+s[i]);9}10