new testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20176 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-02-14 16:45:38 +00:00
parent f1e6e84c66
commit ee6cfda17c

View File

@ -0,0 +1,7 @@
; RUN: llvm-as < %s | llc -march=c | grep volatile
void %test(int* %P) {
%X = volatile load int*%P
volatile store int %X, int* %P
ret void
}