Files
carbon-lang/testing/file_test/testdata/no_line_number.carbon
T
Jon Ross-Perkins 55c257bc93 Use a filename without a line number as a cue for autoupdate. (#4677)
This is so that diagnostics which lack a location get split file
clustering.
2024-12-13 00:05:33 +00:00

22 lines
793 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
// TIP: To test this file alone, run:
// TIP: bazel test //testing/file_test:file_test_base_test --test_arg=--file_tests=testing/file_test/testdata/no_line_number.carbon
// TIP: To dump output, run:
// TIP: bazel run //testing/file_test:file_test_base_test -- --dump_output --file_tests=testing/file_test/testdata/no_line_number.carbon
// CHECK:STDOUT: 3 args: `default_args`, `a.carbon`, `b.carbon`
// --- a.carbon
// CHECK:STDOUT: a.carbon: msg1
// CHECK:STDOUT: msg2
aaa
// --- b.carbon
// CHECK:STDOUT: b.carbon: msg3
// CHECK:STDOUT: msg4
// CHECK:STDOUT: a.carbon: msg5
bbb