aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-07-15 12:09:18 +0000
committerDuncan Sands <baldrick@free.fr>2009-07-15 12:09:18 +0000
commitfb455975e24663db0c9ea073278957e243087d13 (patch)
tree5c5b40e80ff779a3720231f19283128afc3a0fa8 /test/FrontendC
parent6ec9943c3291bbbeaa6da9424a9be59481ed3d9c (diff)
downloadexternal_llvm-fb455975e24663db0c9ea073278957e243087d13.zip
external_llvm-fb455975e24663db0c9ea073278957e243087d13.tar.gz
external_llvm-fb455975e24663db0c9ea073278957e243087d13.tar.bz2
String constants are now output with private linkage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75777 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC')
-rw-r--r--test/FrontendC/2005-02-27-MarkGlobalConstant.c2
-rw-r--r--test/FrontendC/2007-02-16-WritableStrings.c5
2 files changed, 3 insertions, 4 deletions
diff --git a/test/FrontendC/2005-02-27-MarkGlobalConstant.c b/test/FrontendC/2005-02-27-MarkGlobalConstant.c
index 4d24d0c..b9fbbb6 100644
--- a/test/FrontendC/2005-02-27-MarkGlobalConstant.c
+++ b/test/FrontendC/2005-02-27-MarkGlobalConstant.c
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -xc %s -S -o - | grep {internal constant }
+// RUN: %llvmgcc -xc %s -S -o - | grep {private constant }
// The synthetic global made by the CFE for big initializer should be marked
// constant.
diff --git a/test/FrontendC/2007-02-16-WritableStrings.c b/test/FrontendC/2007-02-16-WritableStrings.c
index d11fa08..811e330 100644
--- a/test/FrontendC/2007-02-16-WritableStrings.c
+++ b/test/FrontendC/2007-02-16-WritableStrings.c
@@ -1,8 +1,7 @@
// Test the -fwritable-strings option.
// RUN: %llvmgcc -O3 -S -o - -emit-llvm -fwritable-strings %s | \
-// RUN: grep {internal global}
-// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep {internal constant}
+// RUN: grep {private global}
+// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep {private constant}
char *X = "foo";
-