dump_prelude.carbon 868 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. // INCLUDE-FILE: toolchain/testing/testdata/min_prelude/full.carbon
  6. //
  7. // ARGS: compile --phase=check --dump-sem-ir %s
  8. //
  9. // NOAUTOUPDATE
  10. // SET-CHECK-SUBSET
  11. //
  12. // TIP: To test this file alone, run:
  13. // TIP: bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/check/testdata/basics/dump_prelude.carbon
  14. // TIP: To dump output, run:
  15. // TIP: bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/check/testdata/basics/dump_prelude.carbon
  16. // CHECK:STDOUT: interface @Copy {
  17. // CHECK:STDOUT: interface @Destroy {
  18. // CHECK:STDOUT: fn @MakeInt(%size.param: Core.IntLiteral) -> out %return.param: type = "int.make_type_signed";