Files
carbon-lang/toolchain/testing/testdata/min_prelude/full.carbon
T
Dana Jansens badd544798 Add a full.carbon min-prelude that pulls in the full production prelude (#5703)
The `full.carbon` prelude just sets a flag indicating an explicit intent
to include the full prelude. Once all tests include some prelude file,
an error can be enabled (currently it's commented out) that requires an
`INCLUDE-FILE` of some min-prelude to be present in all `check/` and
`lower/` file tests.
2025-06-24 18:10:55 +00:00

16 lines
635 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
//
// EXTRA-ARGS: --expect-full-prelude --exclude-dump-file-prefix=min_prelude/
// Including this file indicates explicitly to file_test that the test wants to
// include the full production prelude. Note that this is quite slow relative to
// a more minimal prelude (e.g. ~1s vs 10ms), and makes debugging tests quite
// noisy as the prelude compiles many things.
// --- min_prelude/full.carbon
// A no-op package.
package MinPreludeFull;