2010-11-25 22:46:07 +01:00
|
|
|
/* RUN: %llvmgcc -w -x objective-c -S %s -o /dev/null -pedantic-errors
|
2009-02-05 19:15:17 +01:00
|
|
|
rdar://6551276 */
|
|
|
|
|
|
|
|
void foo(const unsigned short *);
|
|
|
|
void bar() {
|
|
|
|
unsigned short *s[3];
|
|
|
|
int i;
|
|
|
|
@try { } @catch (id anException) { }
|
|
|
|
foo(2+s[i]);
|
|
|
|
}
|
|
|
|
|