YouCompleteMe/cpp/llvm/test/Transforms/GlobalDCE/2002-07-17-CastRef.ll
2012-07-05 17:51:06 -07:00

12 lines
197 B
LLVM

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