empty.carbon 614 B

123456789101112131415
  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. // RUN: %{carbon-run-parser}
  7. // CHECK:STDOUT: [
  8. // CHECK:STDOUT: {kind: 'DeclaredName', text: 'foo'},
  9. // CHECK:STDOUT: {kind: 'InterfaceBodyStart', text: '{'},
  10. // CHECK:STDOUT: {kind: 'InterfaceBody', text: '}', subtree_size: 2},
  11. // CHECK:STDOUT: {kind: 'InterfaceDefinition', text: 'interface', subtree_size: 4},
  12. // CHECK:STDOUT: {kind: 'FileEnd', text: ''},
  13. // CHECK:STDOUT: ]
  14. interface foo {
  15. }