blob: b8589b067d29a2e9aa06b6055fdbd2f5c596e97a [file] [log] [blame]
Chris Lattner8b3af102009-02-07 23:37:03 +00001// RUN: %llvmgxx -S %s -o - | grep {volatile load}
2// PR3320
3
4void test(volatile int *a) {
5 // should be a volatile load.
6 a[0];
7}