15 lines · plain
1; The pass here doesn't matter (we use deadargelim), but test2; that the -run-twice options exists, generates output, and3; doesn't crash4; RUN: opt -run-twice -passes=deadargelim -S < %s | FileCheck %s5 6; CHECK: define internal void @test7define internal {} @test() {8 ret {} undef9}10 11define void @caller() {12 call {} @test()13 ret void14}15