mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
15 lines
335 B
LLVM
15 lines
335 B
LLVM
|
; 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
|
||
|
}
|