mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-24 04:32:42 +00:00
The none.carbon min-prelude is not just an empty prelude, it also prevents any prelude from being imported at all. So no import machinery runs before the test, only the `package` statement from the prelude would run. Use the none.carbon min-prelude in a few tests that were specifying `--no-prelude-import` to give it a trial run. --------- Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
11 lines
398 B
Plaintext
11 lines
398 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: --no-prelude-import --exclude-dump-file-prefix=min_prelude/
|
|
|
|
// --- min_prelude/none.carbon
|
|
|
|
// A minimal prelude that avoids importing any prelude library at all.
|
|
package MinPreludeNone;
|