Changes in directory llvm/test/CFrontend:

2007-02-16-WritableStrings.c added (r1.1)
---
Log message:

new testcase for -fwritable-strings


---
Diffs of the changes:  (+7 -0)

 2007-02-16-WritableStrings.c |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/test/CFrontend/2007-02-16-WritableStrings.c
diff -c /dev/null llvm/test/CFrontend/2007-02-16-WritableStrings.c:1.1
*** /dev/null   Fri Feb 16 23:07:50 2007
--- llvm/test/CFrontend/2007-02-16-WritableStrings.c    Fri Feb 16 23:07:40 2007
***************
*** 0 ****
--- 1,7 ----
+ // Test the -fwritable-strings option.
+ 
+ // RUN: %llvmgcc -O3 -S -o - -emit-llvm -fwritable-strings %s | grep 
'internal global' &&
+ // RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep 'internal constant'
+ 
+ char *X = "foo";
+ 



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to