mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 00:31:37 +00:00
7 lines
123 B
LLVM
7 lines
123 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep neg
|
|
|
|
int %test(int %X) {
|
|
%Y = sub int 0, %X
|
|
ret int %Y
|
|
}
|