1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-02-13 10:32:06 +00:00
llvm-6502/test/FrontendC++/2009-02-07-VolatileArrayRefHack.cpp

8 lines
137 B
C++
Raw Normal View History

// RUN: %llvmgxx -S %s -o - | grep {volatile load}
// PR3320
void test(volatile int *a) {
// should be a volatile load.
a[0];
}