forked from OSchip/llvm-project
12 lines
197 B
LLVM
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
|
||
|
}
|
||
|
|