Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / CodeGen / CBackend / 2003-10-28-CastToPtrToStruct.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
2
3 ; reduced from DOOM.
4 %union._XEvent = type { int }
5 %.X_event_9 = global %union._XEvent zeroinitializer
6
7 implementation   ; Functions:
8 void %I_InitGraphics() {
9 shortcirc_next.3:               ; preds = %no_exit.1
10         %tmp.319 = load int* getelementptr ({ int, int }* cast (%union._XEvent* %.X_event_9 to { int, int }*), long 0, uint 1)          ; <int> [#uses=1]
11     ret void
12 }