Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / CodeGen / CBackend / 2005-02-14-VolatileOperations.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | grep volatile
2
3 void %test(int* %P) {
4         %X = volatile load int*%P
5         volatile store int %X, int* %P
6         ret void
7 }