mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 01:43:06 +00:00
ed54534a82
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];
|
|
}
|