New testcase, reduced from DOOM.
[oota-llvm.git] / test / CodeGen / CBackend / 2003-10-28-CastToPtrToStruct.ll
1 ; reduced from DOOM.
2 %union._XEvent = type { int }
3 %.X_event_9 = global %union._XEvent zeroinitializer
4
5 implementation   ; Functions:
6 void %I_InitGraphics() {
7 shortcirc_next.3:               ; preds = %no_exit.1
8         %tmp.319 = load int* getelementptr ({ int, int }* cast (%union._XEvent* %.X_event_9 to { int, int }*), long 0, ubyte 1)         ; <int> [#uses=1]
9     ret void
10 }