llvm-project/llvm/test/Transforms/GlobalDCE/2002-07-17-CastRef.ll

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
197 B
LLVM
Raw Normal View History

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