repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs.
[llvm/zpu.git]
/
test
/
FrontendC++
/
2009-02-07-VolatileArrayRefHack.cpp
blob
b8589b067d29a2e9aa06b6055fdbd2f5c596e97a
1
// RUN: %llvmgxx -S %s -o - | grep {volatile load}
2
// PR3320
3
4
void
test
(
volatile
int
*
a
) {
5
// should be a volatile load.
6
a
[
0
];
7
}