Add more reference-binding examples from the C++0x working paper, all of which seem...
[clang.git] / test / CodeGenObjC / constant-strings.m
blob227694969bfe896fe6fea2831131b4345577813f
1 // RUN: %clang_cc1 -emit-llvm -o %t %s
2 // RUN: %clang_cc1 -fgnu-runtime -emit-llvm -o %t %s && grep NXConstantString %t | count 1
3 // RUN: %clang_cc1 -fgnu-runtime -fconstant-string-class NSConstantString -emit-llvm -o %t %s && grep NSConstantString %t | count 1
5 id a = @"Hello World!";