Fix inlining to not lose the "cleanup" clause from landingpads
[oota-llvm.git] / test / Transforms / ADCE / unreachable-function.ll
index 0c10253300807e3846decafeafe22092e021d080..7c6a30ec6b6fc4126b90fefc05f83b069b20acd1 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -adce -disable-output
+; RUN: opt < %s -adce -disable-output
 
-void %test() {
+define void @test() {
        unreachable
 }