llvm.org GIT mirror llvm / ca940bb
testcase for rdar://6551276 and llvm-gcc r63873 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63874 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 11 years ago
1 changed file(s) with 11 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 /* RUN: %llvmgcc -w -x objective-c -c %s -o /dev/null -pedantic-errors
1 rdar://6551276 */
2
3 void foo(const unsigned short *);
4 void bar() {
5 unsigned short *s[3];
6 int i;
7 @try { } @catch (id anException) { }
8 foo(2+s[i]);
9 }
10