-; RUN: llvm-as %s -o - | opt -inline | llvm-dis | grep nounwind
-; RUN: llvm-as %s -o - | opt -inline | llvm-dis | grep unreachable
+; RUN: opt < %s -inline -S | grep nounwind
+; RUN: opt < %s -inline -S | grep unreachable
declare i1 @extern()
%n = call i1 @extern( )
br i1 %n, label %r, label %u
r:
- ret i32 0;
+ ret i32 0
u:
- unwind
+ unreachable
}
define i32 @caller() {