Fixed some bugs.
[llvm/zpu.git] / test / FrontendC++ / 2009-02-07-VolatileArrayRefHack.cpp
blobb8589b067d29a2e9aa06b6055fdbd2f5c596e97a
1 // RUN: %llvmgxx -S %s -o - | grep {volatile load}
2 // PR3320
4 void test(volatile int *a) {
5 // should be a volatile load.
6 a[0];