mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-02 08:15:50 +01:00
Fix printing of integer literals with the high bit set. (#3201)
Integer literals are not signed, so don't print them as signed.
This commit is contained in:
+1
-1
@@ -241,7 +241,7 @@ fn Main() {
|
||||
// CHECK:STDOUT: %a: ref i32 = var "a"
|
||||
// CHECK:STDOUT: %.loc8: i32 = int_literal 12
|
||||
// CHECK:STDOUT: assign %a, %.loc8
|
||||
// CHECK:STDOUT: %.loc9: i32 = int_literal -7
|
||||
// CHECK:STDOUT: %.loc9: i32 = int_literal 9
|
||||
// CHECK:STDOUT: assign %a, %.loc9
|
||||
// CHECK:STDOUT: %.loc11_11: type = stub_reference i32
|
||||
// CHECK:STDOUT: %.loc11_16: type = stub_reference i32
|
||||
|
||||
Reference in New Issue
Block a user