summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjC/constant-strings.m
blob: 227694969bfe896fe6fea2831131b4345577813f (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -emit-llvm -o %t %s
// RUN: %clang_cc1 -fgnu-runtime -emit-llvm -o %t %s && grep NXConstantString %t | count 1
// RUN: %clang_cc1 -fgnu-runtime -fconstant-string-class NSConstantString -emit-llvm -o %t %s && grep NSConstantString %t | count 1

id a = @"Hello World!";

OpenPOWER on IntegriCloud