"ret (constexpr)" can't be folded into a Constant. Add a method to
[oota-llvm.git] / test / Transforms / SCCP / 2006-12-19-UndefBug.ll
1 ; RUN: llvm-as < %s | opt -sccp | llvm-dis | \
2 ; RUN:   grep {ret i1 false}
3
4 define i1 @foo() {
5         %X = and i1 false, undef                ; <i1> [#uses=1]
6         ret i1 %X
7 }
8