after_package.carbon 904 B

12345678910111213141516171819202122
  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. //
  5. // AUTOUPDATE
  6. package A api;
  7. import B;
  8. // CHECK:STDOUT: - filename: after_package.carbon
  9. // CHECK:STDOUT: parse_tree: [
  10. // CHECK:STDOUT: {kind: 'FileStart', text: ''},
  11. // CHECK:STDOUT: {kind: 'PackageIntroducer', text: 'package'},
  12. // CHECK:STDOUT: {kind: 'PackageName', text: 'A'},
  13. // CHECK:STDOUT: {kind: 'PackageApi', text: 'api'},
  14. // CHECK:STDOUT: {kind: 'PackageDirective', text: ';', subtree_size: 4},
  15. // CHECK:STDOUT: {kind: 'ImportIntroducer', text: 'import'},
  16. // CHECK:STDOUT: {kind: 'PackageName', text: 'B'},
  17. // CHECK:STDOUT: {kind: 'ImportDirective', text: ';', subtree_size: 3},
  18. // CHECK:STDOUT: {kind: 'FileEnd', text: ''},
  19. // CHECK:STDOUT: ]