1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/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];
}