mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-27 14:10:10 +01:00
Write unattached CHECK:STDOUT lines at the end of the complete test file, not at the end of the first split file. Also, perform line number remappings for the current file even if we see a check line for an earlier file first. We used to stop performing remapping after the first check line that referred to a previous file. To facilitate this, instead of splitting the check lines up by output file prior to forming the output, we instead form a single list of check lines and have the check lines track which file they refer to.
8 lines
385 B
Plaintext
8 lines
385 B
Plaintext
// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
// Exceptions. See /LICENSE for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
// AUTOUPDATE
|
|
// CHECK:STDOUT: 2 args: `default_args`, `not_split.carbon`
|
|
// CHECK:STDOUT: not_split.carbon:[[@LINE-6]]: starts with "// Part of the Carbon Language project, ", length 7 lines
|