summaryrefslogtreecommitdiff
path: root/test/CodeGen/CBackend/2005-02-14-VolatileOperations.ll
blob: e161e46b558c069f8cafbcd5dadc530984dddf34 (plain)
1
2
3
4
5
6
7
; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | grep volatile

void %test(int* %P) {
	%X = volatile load int*%P
	volatile store int %X, int* %P
	ret void
}