mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-28 22:02:37 +01:00
I keep forgetting about updates to this. Trying to choose an error that's less likely to churn.
11 lines
464 B
Plaintext
11 lines
464 B
Plaintext
// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
// Exceptions. See /LICENSE for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
// This validates that earlier errors prevent lowering, without crashing.
|
|
// AUTOUPDATE
|
|
// RUN: %{not} %{carbon-run-lowering}
|
|
|
|
// CHECK:STDERR: {{.*}}/toolchain/lowering/testdata/basics/fail_before_lowering.carbon:[[@LINE+1]]:1: Unrecognized declaration introducer.
|
|
a;
|