Add more reference-binding examples from the C++0x working paper, all of which seem...
[clang.git] / test / CodeGenObjC / deadcode_strip_used_var.m
blob01e6bd4feb3316790e4de14cf6f190a7c395f690
1 // RUN: %clang_cc1 %s -emit-llvm -o %t -triple i386-apple-darwin10
2 // RUN: grep "llvm.used" %t | count 1
3 // RUN: %clang_cc1 %s -emit-llvm -o %t -triple x86_64-apple-darwin10
4 // RUN: grep "llvm.used" %t | count 1 
7 __attribute__((used)) static int  XXXXXX  __attribute__ ((section ("__DATA,__Xinterpose"))) ;
8 __attribute__((used)) static int  YYYY  __attribute__ ((section ("__DATA,__Xinterpose"))) ;