mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
8 lines
137 B
C++
8 lines
137 B
C++
|
// RUN: %llvmgxx -S %s -o - | grep {volatile load}
|
||
|
// PR3320
|
||
|
|
||
|
void test(volatile int *a) {
|
||
|
// should be a volatile load.
|
||
|
a[0];
|
||
|
}
|