summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2009-08-31 16:41:57 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2009-08-31 16:41:57 +0000
commit5778fce14148ae0ccf5a6bb5b940e66b33653e5c (patch)
tree4bc5fd2430e126bd2f4e1460174e22af2eb44176 /clang/test/CodeGenObjC
parentd18e668fbcf40951c19a908f91b74cd41ea9f21c (diff)
downloadbcm5719-llvm-5778fce14148ae0ccf5a6bb5b940e66b33653e5c.tar.gz
bcm5719-llvm-5778fce14148ae0ccf5a6bb5b940e66b33653e5c.zip
Updated GNU runtime non-fragile ABI.
Added -fconstant-string-class= option. Added __has_feature() test for non-fragile ABI. llvm-svn: 80591
Diffstat (limited to 'clang/test/CodeGenObjC')
-rw-r--r--clang/test/CodeGenObjC/constant-strings.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/CodeGenObjC/constant-strings.m b/clang/test/CodeGenObjC/constant-strings.m
index d4fefd90365..82cd916b5ca 100644
--- a/clang/test/CodeGenObjC/constant-strings.m
+++ b/clang/test/CodeGenObjC/constant-strings.m
@@ -1,4 +1,6 @@
-// RUN: clang-cc -fnext-runtime -emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime -emit-llvm -o %t %s &&
+// RUN: clang-cc -fgnu-runtime -emit-llvm -o %t %s && grep NXConstantString %t | count 1 &&
+// RUN: clang-cc -fgnu-runtime -fconstant-string-class=NSConstantString -emit-llvm -o %t %s && grep NSConstantString %t | count 1
id a = @"Hello World!";
OpenPOWER on IntegriCloud