summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/string-literal-short-wstring.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-08-24 00:33:55 +0000
committerEric Christopher <echristo@apple.com>2011-08-24 00:33:55 +0000
commitb58b3e879d3b053dfb14342105b4b4bc27c069f3 (patch)
treed4f6f4b255a19a7de3b85368488b0885ad6562dd /clang/test/CodeGen/string-literal-short-wstring.c
parent0897a235176001f7703f54684b1ca60b3d4707a9 (diff)
downloadbcm5719-llvm-b58b3e879d3b053dfb14342105b4b4bc27c069f3.tar.gz
bcm5719-llvm-b58b3e879d3b053dfb14342105b4b4bc27c069f3.zip
Make constant aggregate constant initializers private linkage.
After talking with John making this the case for all of these is the right way to go. Fixes rdar://9804564 and PR10414 llvm-svn: 138418
Diffstat (limited to 'clang/test/CodeGen/string-literal-short-wstring.c')
-rw-r--r--clang/test/CodeGen/string-literal-short-wstring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/string-literal-short-wstring.c b/clang/test/CodeGen/string-literal-short-wstring.c
index ce2990492ad..770c3d42687 100644
--- a/clang/test/CodeGen/string-literal-short-wstring.c
+++ b/clang/test/CodeGen/string-literal-short-wstring.c
@@ -3,7 +3,7 @@
int main() {
// This should convert to utf8.
- // CHECK: internal unnamed_addr constant [10 x i8] c"\E1\84\A0\C8\A0\F4\82\80\B0\00", align 1
+ // CHECK: private unnamed_addr constant [10 x i8] c"\E1\84\A0\C8\A0\F4\82\80\B0\00", align 1
char b[10] = "\u1120\u0220\U00102030";
// CHECK: private unnamed_addr constant [6 x i8] c"A\00B\00\00\00"
OpenPOWER on IntegriCloud