mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-24 18:43:10 +00:00
If a SemIR instruction has a braced block and a constant value, print the constant value first. (#3734)
This commit is contained in:
1 parent
67d5446b03
commit
064123d93f
380 files changed
+2070
-2023
No files matched your search
+3
-3
@@ -29,10 +29,10 @@ fn G() {
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: file {
|
||||
// CHECK:STDOUT: package: <namespace> = namespace {
|
||||
// CHECK:STDOUT: package: <namespace> = namespace [template] {
|
||||
// CHECK:STDOUT: .G = %G
|
||||
// CHECK:STDOUT: } [template]
|
||||
// CHECK:STDOUT: %G: <function> = fn_decl @G {} [template]
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT: %G: <function> = fn_decl @G [template] {}
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: fn @G() {
|
||||
|
||||
Reference in new issue
Block a user