mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
8 lines
156 B
Plaintext
8 lines
156 B
Plaintext
|
// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep llvm.memset
|
||
|
|
||
|
char test(int X) {
|
||
|
char str[10000] = "abc"; // tail should be memset.
|
||
|
return str[X];
|
||
|
}
|
||
|
|