stop accepting begin/end around function bodies in the .ll parser, this isn't pascal...
[oota-llvm.git] / test / FrontendC++ / 2009-02-07-VolatileArrayRefHack.cpp
1 // RUN: %llvmgxx -S %s -o - | grep {volatile load}
2 // PR3320
3
4 void test(volatile int *a) {
5     // should be a volatile load.
6     a[0];
7 }