declaration.carbon 729 B

123456789101112131415161718
  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. interface Foo {
  7. }
  8. // CHECK:STDOUT: - filename: declaration.carbon
  9. // CHECK:STDOUT: parse_tree: [
  10. // CHECK:STDOUT: {kind: 'FileStart', text: ''},
  11. // CHECK:STDOUT: {kind: 'InterfaceIntroducer', text: 'interface'},
  12. // CHECK:STDOUT: {kind: 'Name', text: 'Foo'},
  13. // CHECK:STDOUT: {kind: 'InterfaceDefinitionStart', text: '{', subtree_size: 3},
  14. // CHECK:STDOUT: {kind: 'InterfaceDefinition', text: '}', subtree_size: 4},
  15. // CHECK:STDOUT: {kind: 'FileEnd', text: ''},
  16. // CHECK:STDOUT: ]