add a negative test case for new srctgt mode
ADD
tests/alive-tv/easy-3.srctgt.ll
+; ERROR: Target is more poisonous than source
+
+define i32 @src(i32, i32) {
+ %x = add nsw i32 %0, %1
+ ret i32 %x
+}
+
+define i32 @tgt(i32, i32) {
+ %x = add nuw i32 %0, %1
+ ret i32 %x
+}

add a negative test case for new srctgt mode (#295)