llvm-6502/test/Transforms/GlobalDCE/2002-07-17-CastRef.ll
2008-03-01 09:15:35 +00:00

12 lines
207 B
LLVM

; RUN: llvm-as < %s | opt -globaldce
;
define internal void @func() {
ret void
}
define void @main() {
%X = bitcast void ()* @func to i32* ; <i32*> [#uses=0]
ret void
}