fail_compile_error.carbon 571 B

1234567891011121314
  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: %{not} %{explorer} | %{FileCheck-strict}
  7. // RUN: %{not} %{explorer} --parser_debug --trace_file=- | %{FileCheck-allow-unmatched}
  8. package ExplorerTest api;
  9. // Just needs to produce an error to validate basic structure.
  10. fn Main() -> i32 {
  11. // CHECK:STDERR: COMPILATION ERROR: {{.*}}/explorer/lit_testdata/fail_compile_error.carbon:[[@LINE+1]]: {{.*}}
  12. }