blob: afdc1cd12d00c161f363672d479c118eaf36bf95 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; distilled from 255.vortex
2; RUN: llvm-upgrade < %s | llvm-as | opt -globaldce | llvm-dis | not grep testfunc
3
4implementation
5
6declare bool()* %getfunc()
7internal bool %testfunc() {
8 %F = call bool()*()* %getfunc()
9 %c = seteq bool()* %F, %testfunc
10 ret bool %c
11}