forked from OSchip/llvm-project
parent
2cf8c44e43
commit
4f8542f31d
|
@ -0,0 +1,7 @@
|
||||||
|
// RUN: %llvmgxx -S %s -o - | grep {volatile load}
|
||||||
|
// PR3320
|
||||||
|
|
||||||
|
void test(volatile int *a) {
|
||||||
|
// should be a volatile load.
|
||||||
|
a[0];
|
||||||
|
}
|
Loading…
Reference in New Issue