blob: c662e0f711b03781c7c060a0f23af888a8d30bb2 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | opt -sccp | llvm-dis | grep {ret i32 1}
2
3; This function definitely returns 1, even if we don't know the direction
4; of the branch.
5
6int %foo() {
7 br bool undef, label %T, label %T
8T:
9 %X = add int 0, 1
10 ret int %X
11}