context_prelude.carbon 579 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. package ExplorerTest api;
  5. interface TestInterface {}
  6. fn Main() -> i32 {
  7. return 0;
  8. }
  9. // Place checks after code so that line numbers are stable, reducing merge
  10. // conflicts.
  11. // ARGS: --trace_file=- --trace_phase=all --trace_file_context=prelude %s
  12. // NOAUTOUPDATE
  13. // SET-CHECK-SUBSET
  14. // CHECK:STDOUT: ->> declaring `interface As` (prelude.carbon:14)
  15. // CHECK:STDOUT: interface As {