mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-28 15:58:57 -04:00

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