17 lines · plain
1; RUN: llvm-as %s -o - | llvm-dis > %t1.ll2; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll3; RUN: diff %t1.ll %t2.ll4 5 6 7declare void @bar()8 9define i9 @foo() { ;; Calling this function has undefined behavior10 unreachable11}12 13define double @xyz() {14 call void @bar()15 unreachable ;; Bar must not return.16}17