From 2d8c9aeed72b1ca33340b7a64ca8aa2a7a325f41 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Wed, 15 Jul 2009 12:09:18 +0000 Subject: String constants are now output with private linkage. llvm-svn: 75777 --- llvm/test/FrontendC/2005-02-27-MarkGlobalConstant.c | 2 +- llvm/test/FrontendC/2007-02-16-WritableStrings.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'llvm') diff --git a/llvm/test/FrontendC/2005-02-27-MarkGlobalConstant.c b/llvm/test/FrontendC/2005-02-27-MarkGlobalConstant.c index 4d24d0c6731..b9fbbb6369a 100644 --- a/llvm/test/FrontendC/2005-02-27-MarkGlobalConstant.c +++ b/llvm/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/llvm/test/FrontendC/2007-02-16-WritableStrings.c b/llvm/test/FrontendC/2007-02-16-WritableStrings.c index d11fa089dba..811e3301f8d 100644 --- a/llvm/test/FrontendC/2007-02-16-WritableStrings.c +++ b/llvm/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"; - -- cgit v1.2.3