llvm-project
14 строк · 342.0 Байт
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 -passes=deadargelim -S < %s | FileCheck %s
5
6; CHECK: define internal void @test
7define internal {} @test() {
8ret {} undef
9}
10
11define void @caller() {
12call {} @test()
13ret void
14}
15