Files
llvm/clang/test/CodeGen/writable-strings.c
Daniel Dunbar 19d84c3c51 Update a number of CodeGen tests to not create .ll files in the test
directory.
 - Removed .ll from the svn:ignore lists to try and prevent this.
 - Added svn:ignore on test/Misc/Output

llvm-svn: 55104
2008-08-21 02:51:29 +00:00

9 lines
134 B
C

// RUN: clang -emit-llvm -o %t -fwritable-strings %s
int main() {
char *str = "abc";
str[0] = '1';
printf("%s", str);
}