blob: cb65d4b9ec8a46029579e08198e5dc0a8711d6d7 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
2; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3; RUN: diff %t1.ll %t2.ll
4
5
6
7declare void @bar()
8
9define i9 @foo() { ;; Calling this function has undefined behavior
10 unreachable
11}
12
13define double @xyz() {
14 call void @bar()
15 unreachable ;; Bar must not return.
16}