aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/GlobalDCE/2002-07-17-ConstantRef.ll
blob: 47a8a54cd7a19bb626310f272b86c10fcb1c423f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llvm-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
}