diff options
Diffstat (limited to 'test/FrontendC')
-rw-r--r-- | test/FrontendC/2005-02-27-MarkGlobalConstant.c | 2 | ||||
-rw-r--r-- | test/FrontendC/2007-02-16-WritableStrings.c | 5 |
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"; - |