blob: b6089d1d19ac49a859a598714ec49b90ec5e7be3 [file] [log] [blame]
Chris Lattneree6cfda2005-02-14 16:45:38 +00001; RUN: llvm-as < %s | llc -march=c | grep volatile
2
3void %test(int* %P) {
4 %X = volatile load int*%P
5 volatile store int %X, int* %P
6 ret void
7}