If a SemIR instruction has a braced block and a constant value, print the constant value first. (#3734)

This commit is contained in:
Richard Smith
2024-02-29 23:51:32 +00:00
committed by GitHub
parent 67d5446b03
commit 064123d93f
380 changed files with 2070 additions and 2023 deletions
@@ -14,10 +14,10 @@ fn A() {
// CHECK:STDOUT: --- fail_deref_function.carbon
// CHECK:STDOUT:
// CHECK:STDOUT: file {
// CHECK:STDOUT: package: <namespace> = namespace {
// CHECK:STDOUT: package: <namespace> = namespace [template] {
// CHECK:STDOUT: .A = %A
// CHECK:STDOUT: } [template]
// CHECK:STDOUT: %A: <function> = fn_decl @A {} [template]
// CHECK:STDOUT: }
// CHECK:STDOUT: %A: <function> = fn_decl @A [template] {}
// CHECK:STDOUT: }
// CHECK:STDOUT:
// CHECK:STDOUT: fn @A() {