Create a new channel as a copy of main.
Rename main to:
Delete main? This cannot be undone.
; RUN: opt < %s -passes=globaldce ; define internal void @func() { ret void } define void @main() { %X = bitcast void ()* @func to i32* ; <i32*> [#uses=0] ret void }