1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/FrontendObjC/2009-02-05-VolatileProp.m
2009-02-05 18:15:17 +00:00

12 lines
230 B
Objective-C

/* RUN: %llvmgcc -w -x objective-c -c %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]);
}