llvm.org GIT mirror llvm / release_28 test / FrontendObjC / 2009-11-30-Objc-ID.m
release_28

Tree @release_28 (Download .tar.gz)

2009-11-30-Objc-ID.m @release_28raw · history · blame

// RUN: %llvmgcc -S -O0 -g %s -o - | \
// RUN:     llc --disable-fp-elim -o %t.s -O0 
// RUN: grep id %t.s | grep DW_AT_name
@interface A
-(id) blah;
@end

@implementation A
-(id)blah {
  int i = 1;
  i++;
  return i;
}
@end