blob: e161e46b558c069f8cafbcd5dadc530984dddf34 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | 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}