mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-29 10:14:57 +01:00
Introduce the none.carbon min-prelude (#5694)
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>
This commit is contained in:
co-authored by
Jon Ross-Perkins
parent
59e2846623
commit
76cdbd8a5a
@@ -2,7 +2,7 @@
|
||||
// Exceptions. See /LICENSE for license information.
|
||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
//
|
||||
// EXTRA-ARGS: --no-prelude-import
|
||||
// INCLUDE-FILE: toolchain/testing/testdata/min_prelude/none.carbon
|
||||
//
|
||||
// AUTOUPDATE
|
||||
// TIP: To test this file alone, run:
|
||||
|
||||
Reference in New Issue
Block a user