Files
llvm-project/clang/test/CodeGen/writable-strings.c
Daniel Dunbar a45cf5b6b0 Rename clang to clang-cc.
Tests and drivers updated, still need to shuffle dirs.

llvm-svn: 67602
2009-03-24 02:24:46 +00:00

9 lines
136 B
C

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