mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 08:46:37 +00:00
testcase for r64049 of llvm-gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64050 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
556b4a6385
commit
ed54534a82
7
test/FrontendC++/2009-02-07-VolatileArrayRefHack.cpp
Normal file
7
test/FrontendC++/2009-02-07-VolatileArrayRefHack.cpp
Normal file
@ -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
Block a user