freebsd-nq/test/CodeGenObjC/constant-strings.m
2010-01-01 10:34:51 +00:00

7 lines
288 B
Objective-C

// 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!";