mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 05:21:38 +00:00
13 lines
176 B
LLVM
13 lines
176 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | opt -tailcallelim | llvm-dis | \
|
|
; RUN: grep {tail call void @foo}
|
|
|
|
declare void %foo()
|
|
|
|
|
|
void %bar() {
|
|
call void %foo()
|
|
ret void
|
|
}
|
|
|
|
|