no_line_number.carbon 793 B

123456789101112131415161718192021
  1. // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. // Exceptions. See /LICENSE for license information.
  3. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. // AUTOUPDATE
  5. // TIP: To test this file alone, run:
  6. // TIP: bazel test //testing/file_test:file_test_base_test --test_arg=--file_tests=testing/file_test/testdata/no_line_number.carbon
  7. // TIP: To dump output, run:
  8. // TIP: bazel run //testing/file_test:file_test_base_test -- --dump_output --file_tests=testing/file_test/testdata/no_line_number.carbon
  9. // CHECK:STDOUT: 3 args: `default_args`, `a.carbon`, `b.carbon`
  10. // --- a.carbon
  11. // CHECK:STDOUT: a.carbon: msg1
  12. // CHECK:STDOUT: msg2
  13. aaa
  14. // --- b.carbon
  15. // CHECK:STDOUT: b.carbon: msg3
  16. // CHECK:STDOUT: msg4
  17. // CHECK:STDOUT: a.carbon: msg5
  18. bbb