mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-10 18:11:19 +00:00
19de6c75fd
2008-11-25-Blocks.m 2009-01-26-WriteBarrier-2.m 2009-02-05-VolatileProp.m 2009-08-05-utf16.m from llvm/test/FrontendObjC. llvm-svn: 138175
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]);
|
|
}
|