mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 01:02:46 +00:00
8 lines
154 B
Plaintext
8 lines
154 B
Plaintext
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -regalloc=simple
|
|
|
|
int %main(int %B) {
|
|
;%B = add int 0, 1
|
|
%R = sub int %B, 1 ; %r = 0
|
|
ret int %R
|
|
}
|