llvm-project/clang/test/CodeGenObjC/2009-02-05-VolatileProp.m

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
230 B
Mathematica
Raw Normal View History

// 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]);
}