1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll
2007-01-17 07:59:14 +00:00

13 lines
404 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
; reduced from DOOM.
%union._XEvent = type { int }
%.X_event_9 = global %union._XEvent zeroinitializer
implementation ; Functions:
void %I_InitGraphics() {
shortcirc_next.3: ; preds = %no_exit.1
%tmp.319 = load int* getelementptr ({ int, int }* cast (%union._XEvent* %.X_event_9 to { int, int }*), long 0, uint 1) ; <int> [#uses=1]
ret void
}