autoupdate_split.carbon 749 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/autoupdate_split.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/autoupdate_split.carbon
  9. // --- a.carbon
  10. aaa
  11. // --- b.carbon
  12. bbb
  13. // --- AUTOUPDATE-SPLIT
  14. // CHECK:STDOUT: 3 args: `default_args`, `a.carbon`, `b.carbon`
  15. // CHECK:STDOUT: a.carbon:1: aaa
  16. // CHECK:STDOUT: b.carbon:1: bbb