testcase for r64049 of llvm-gcc.

llvm-svn: 64050
This commit is contained in:
Chris Lattner 2009-02-07 23:37:03 +00:00
parent 2cf8c44e43
commit 4f8542f31d
1 changed files with 7 additions and 0 deletions

View 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];
}