two_files.carbon 730 B

12345678910111213141516171819
  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/two_files.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/two_files.carbon
  9. // CHECK:STDOUT: 3 args: `default_args`, `a.carbon`, `b.carbon`
  10. // --- a.carbon
  11. aaa
  12. // CHECK:STDOUT: a.carbon:[[@LINE-1]]: aaa
  13. // --- b.carbon
  14. bbb
  15. // CHECK:STDOUT: b.carbon:[[@LINE-1]]: bbb