Home | History | Annotate | Download | only in Other
      1 ; The pass here doesn't matter (we use deadargelim), but test
      2 ; that the -run-twice options exists, generates output, and
      3 ; doesn't crash
      4 ; RUN: opt -run-twice -deadargelim -S < %s | FileCheck %s
      5 
      6 ; CHECK: define internal void @test
      7 define internal {} @test() {
      8   ret {} undef
      9 }
     10 
     11 define void @caller() {
     12   call {} @test()
     13   ret void
     14 }
     15