builtin_nodes.carbon 1.6 KB

123456789101112131415161718192021222324252627282930313233
  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. // NOAUTOUPDATE
  6. // RUN: %{carbon} dump semantics-ir --include_builtins %s | \
  7. // RUN: %{FileCheck-strict}
  8. // CHECK:STDOUT: cross_reference_irs_size: 1
  9. // CHECK:STDOUT: calls: [
  10. // CHECK:STDOUT: ]
  11. // CHECK:STDOUT: callables: [
  12. // CHECK:STDOUT: ]
  13. // CHECK:STDOUT: integer_literals: [
  14. // CHECK:STDOUT: ]
  15. // CHECK:STDOUT: real_literals: [
  16. // CHECK:STDOUT: ]
  17. // CHECK:STDOUT: strings: [
  18. // CHECK:STDOUT: ]
  19. // CHECK:STDOUT: nodes: [
  20. // CHECK:STDOUT: {kind: CrossReference, arg0: ir0, arg1: nodeTypeType, type: nodeTypeType},
  21. // CHECK:STDOUT: {kind: CrossReference, arg0: ir0, arg1: nodeInvalidType, type: nodeInvalidType},
  22. // CHECK:STDOUT: {kind: CrossReference, arg0: ir0, arg1: nodeIntegerType, type: nodeTypeType},
  23. // CHECK:STDOUT: {kind: CrossReference, arg0: ir0, arg1: nodeFloatingPointType, type: nodeTypeType},
  24. // CHECK:STDOUT: {kind: CrossReference, arg0: ir0, arg1: nodeStringType, type: nodeTypeType},
  25. // CHECK:STDOUT: {kind: CrossReference, arg0: ir0, arg1: nodeEmptyStructType, type: nodeTypeType},
  26. // CHECK:STDOUT: {kind: CrossReference, arg0: ir0, arg1: nodeEmptyStruct, type: nodeEmptyStructType},
  27. // CHECK:STDOUT: {kind: CrossReference, arg0: ir0, arg1: nodeEmptyTupleType, type: nodeTypeType},
  28. // CHECK:STDOUT: {kind: CrossReference, arg0: ir0, arg1: nodeEmptyTuple, type: nodeEmptyTupleType},
  29. // CHECK:STDOUT: ]
  30. // CHECK:STDOUT: node_blocks: [
  31. // CHECK:STDOUT: [
  32. // CHECK:STDOUT: ],
  33. // CHECK:STDOUT: ]