uint.carbon 1.0 KB

12345678910111213141516171819202122
  1. // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. // Exceptions. See /LICENSE for license information.
  3. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. //
  5. // TODO: This should move to the place where it's imported, but it ends up
  6. // included more than once and that fails to build.
  7. // INCLUDE-FILE: toolchain/testing/testdata/min_prelude/parts/as.carbon
  8. // TODO: This should move to the place where it's imported, but it ends up
  9. // included more than once and that fails to build.
  10. // INCLUDE-FILE: toolchain/testing/testdata/min_prelude/parts/int_literal.carbon
  11. // INCLUDE-FILE: toolchain/testing/testdata/min_prelude/parts/int.carbon
  12. // INCLUDE-FILE: toolchain/testing/testdata/min_prelude/parts/uint.carbon
  13. // EXTRA-ARGS: --custom-core --exclude-dump-file-prefix=min_prelude/
  14. // --- min_prelude/uint.carbon
  15. // A minimal prelude for testing using `UInt` or `u32`, and includes `Int` and
  16. // `i32` as well.
  17. package Core library "prelude";
  18. export import library "prelude/parts/int";
  19. export import library "prelude/parts/uint";