mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 00:22:09 +00:00
11 lines
138 B
LLVM
11 lines
138 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | llc
|
|
|
|
int %foo(int %x) {
|
|
ret int 42
|
|
}
|
|
|
|
int %main() {
|
|
%r = call int %foo(int 15)
|
|
ret int %r
|
|
}
|