Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
llvm
/
ed54534a82257e33def60f00c15ccb0399dc3e1d
/
.
/
test
/
FrontendC++
/
2009-02-07-VolatileArrayRefHack.cpp
blob: b8589b067d29a2e9aa06b6055fdbd2f5c596e97a [
file
] [
log
] [
blame
]
Chris Lattner
ed54534
2009-02-07 23:37:03 +0000
[
diff
] [
blame^
]
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
}