no_entries.carbon 948 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. //
  5. // AUTOUPDATE
  6. // CHECK:STDOUT: [
  7. // CHECK:STDOUT: {kind: 'VariableIntroducer', text: 'var'},
  8. // CHECK:STDOUT: {kind: 'DeclaredName', text: 'y'},
  9. // CHECK:STDOUT: {kind: 'StructLiteralOrStructTypeLiteralStart', text: '{'},
  10. // CHECK:STDOUT: {kind: 'StructLiteral', text: '}', subtree_size: 2},
  11. // CHECK:STDOUT: {kind: 'PatternBinding', text: ':', subtree_size: 4},
  12. // CHECK:STDOUT: {kind: 'VariableInitializer', text: '='},
  13. // CHECK:STDOUT: {kind: 'StructLiteralOrStructTypeLiteralStart', text: '{'},
  14. // CHECK:STDOUT: {kind: 'StructLiteral', text: '}', subtree_size: 2},
  15. // CHECK:STDOUT: {kind: 'VariableDeclaration', text: ';', subtree_size: 9},
  16. // CHECK:STDOUT: {kind: 'FileEnd', text: ''},
  17. // CHECK:STDOUT: ]
  18. var y: {} = {};