mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 19:11:19 +00:00
9 lines
128 B
C
9 lines
128 B
C
// RUN: clang -emit-llvm -fwritable-strings %s
|
|
|
|
int main() {
|
|
char *str = "abc";
|
|
str[0] = '1';
|
|
printf("%s", str);
|
|
}
|
|
|