mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
If a SemIR instruction has a braced block and a constant value, print the constant value first. (#3734)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user