mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-16 16:48:02 +00:00
e25d9fb4d5
llvm-svn: 2955
13 lines
178 B
LLVM
13 lines
178 B
LLVM
; RUN: as < %s | opt -globaldce
|
|
;
|
|
%X = global void() * %func
|
|
implementation
|
|
|
|
internal void %func() { ; Not dead, can be reachable via X
|
|
ret void
|
|
}
|
|
|
|
void %main() {
|
|
ret void
|
|
}
|