mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-09 03:56:28 +00:00
![Chris Lattner](/assets/img/avatar_default.png)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64050 91177308-0d34-0410-b5e6-96231b3b80d8
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];
|
|
}
|