llvm.org GIT mirror llvm / release_28 test / FrontendObjC / 2009-02-05-VolatileProp.m
release_28

Tree @release_28 (Download .tar.gz)

2009-02-05-VolatileProp.m @release_28raw · history · blame

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