mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Add a distinct semir file separator. (#3438)
This removes the filename from the file-scoped block, and places it above to make it clear where the full SemIR begins (with multifile, providing a barrier between).
This commit is contained in:
@@ -33,11 +33,13 @@ class C {
|
||||
var n: if true then i32 else f64;
|
||||
}
|
||||
|
||||
// CHECK:STDOUT: --- fail_not_in_function.carbon
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: constants {
|
||||
// CHECK:STDOUT: %.loc34: type = struct_type {.n: <error>}
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: file "fail_not_in_function.carbon" {
|
||||
// CHECK:STDOUT: file {
|
||||
// CHECK:STDOUT: %.loc17: i32 = block_arg <unexpected instblockref block4>
|
||||
// CHECK:STDOUT: %x: i32 = bind_name x, %.loc17
|
||||
// CHECK:STDOUT: class_decl @C, ()
|
||||
@@ -51,3 +53,4 @@ class C {
|
||||
// CHECK:STDOUT: !members:
|
||||
// CHECK:STDOUT: .n = <unexpected instref inst+20>
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
|
||||
Reference in New Issue
Block a user