Duncan Sands | 8182ac6 | 2010-11-25 21:46:07 +0000 | [diff] [blame] | 1 | /* RUN: %llvmgcc -w -x objective-c -S %s -o /dev/null -pedantic-errors |
Chris Lattner | a936b39 | 2009-02-05 18:15:17 +0000 | [diff] [blame] | 2 | rdar://6551276 */ |
3 | |||||
4 | void foo(const unsigned short *); | ||||
5 | void bar() { | ||||
6 | unsigned short *s[3]; | ||||
7 | int i; | ||||
8 | @try { } @catch (id anException) { } | ||||
9 | foo(2+s[i]); | ||||
10 | } | ||||
11 |