mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-02 00:42:52 +01:00
c072619922
llvm-svn: 47793
14 lines
232 B
LLVM
14 lines
232 B
LLVM
; RUN: llvm-as < %s | opt -globaldce
|
|
;
|
|
|
|
@X = global void ()* @func ; <void ()**> [#uses=0]
|
|
|
|
; Not dead, can be reachable via X
|
|
define internal void @func() {
|
|
ret void
|
|
}
|
|
|
|
define void @main() {
|
|
ret void
|
|
}
|