writable-strings.c 138 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 // RUN: %clang_cc1 -emit-llvm -o - -fwritable-strings %s int main() { char *str = "abc"; str[0] = '1'; printf("%s", str); }