mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-31 07:52:55 +01:00
a5d8d91fdf
llvm-svn: 64050
8 lines
137 B
C++
8 lines
137 B
C++
// RUN: %llvmgxx -S %s -o - | grep {volatile load}
|
|
// PR3320
|
|
|
|
void test(volatile int *a) {
|
|
// should be a volatile load.
|
|
a[0];
|
|
}
|