mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-24 19:02:42 +00:00
As described in proposal #4682, make `array(T, N)` be syntactic sugar for the type `Core.Array` defined in the standard library. This provides a home for impls that are specific to `Core.Array`. Assisted-by: Gemini and Claude via Antigravity
14 lines
494 B
Plaintext
14 lines
494 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
|
|
//
|
|
// INCLUDE-FILE: toolchain/testing/testdata/min_prelude/parts/int.carbon
|
|
// EXTRA-ARGS: --custom-core --exclude-dump-file-prefix=min_prelude/
|
|
|
|
// --- min_prelude/int.carbon
|
|
|
|
// A minimal prelude for testing `Int` or `i32`.
|
|
package Core library "prelude";
|
|
|
|
export import library "prelude/parts/int";
|