1f51a89d39
These were ignored by git accidentally. We want ALL OF THEM since they all came in the llvm/clang source distribution.
11 lines
230 B
Objective-C
11 lines
230 B
Objective-C
// RUN: %clang -fexceptions -S -emit-llvm %s -o /dev/null -pedantic-errors
|
|
// rdar://6551276
|
|
|
|
void foo(const unsigned short *);
|
|
void bar() {
|
|
unsigned short *s[3];
|
|
int i;
|
|
@try { } @catch (id anException) { }
|
|
foo(2+s[i]);
|
|
}
|