mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-25 19:21:12 +00:00
This makes the min_prelude files a little more consistent with how we use testdata elsewhere, avoiding some special casing of them.
16 lines
542 B
Plaintext
16 lines
542 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: --custom-core --exclude-dump-file-prefix=min_prelude/
|
|
// INCLUDE-FILE: toolchain/testing/testdata/min_prelude/parts/as.carbon
|
|
|
|
// --- min_prelude/bool.carbon
|
|
|
|
// A minimal prelude for testing conversion between types.
|
|
package Core library "prelude";
|
|
|
|
export import library "prelude/parts/as";
|
|
|
|
fn Bool() -> type = "bool.make_type";
|