summaryrefslogtreecommitdiff
path: root/test/Transforms/SCCP/2006-12-19-UndefBug.ll
blob: 3cc61f716b4ddcfcff682c9473a5744ee88fa96e (plain)
1
2
3
4
5
6
7
; RUN: llvm-upgrade < %s | llvm-as | opt -sccp | llvm-dis | \
; RUN:   grep {ret i1 false}

bool %foo() {
	%X = and bool false, undef
	ret bool %X
}