Add testcase for -(-A)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2488 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-05-06 16:19:16 +00:00
parent 45d8b917be
commit c1bfd13c0a

View File

@ -18,4 +18,8 @@ int "test2"(int %A) {
ret int %B
}
int "test3"(int %A) {
%B = sub int 0, %A ; B = -A
%C = sub int 0, %B ; C = -B = A
ret int %C
}