You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
335 B
15 lines
335 B
7 months ago
|
; The pass here doesn't matter (we use deadargelim), but test
|
||
|
; that the -run-twice options exists, generates output, and
|
||
|
; doesn't crash
|
||
|
; RUN: opt -run-twice -deadargelim -S < %s | FileCheck %s
|
||
|
|
||
|
; CHECK: define internal void @test
|
||
|
define internal {} @test() {
|
||
|
ret {} undef
|
||
|
}
|
||
|
|
||
|
define void @caller() {
|
||
|
call {} @test()
|
||
|
ret void
|
||
|
}
|