Fix a bug in GetKnownAlignment of packed structs.
[oota-llvm.git] / test / CodeGen / CBackend / 2005-09-27-VolatileFuncPtr.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | grep {\\* *volatile *\\*}
2
3 %G = external global void()*
4
5 void %test() {
6         volatile store void()* %test, void()** %G
7         volatile load void()** %G
8         ret void
9 }