Add a lsr common loop invariant hoisting test case
[oota-llvm.git] / test / CodeGen / CBackend / 2005-09-27-VolatileFuncPtr.ll
1 ; RUN: llvm-as < %s | llc -march=c &&
2 ; RUN: llvm-as < %s | llc -march=c | grep '\* *volatile *\*'
3
4 %G = external global void()*
5
6 void %test() {
7         volatile store void()* %test, void()** %G
8         volatile load void()** %G
9         ret void
10 }