rust/tests/ui/static/static_sized_requirement.rs
David Wood 92eb4450fa
tests: use minicore more
minicore makes it much easier to add new language items to all of the
existing `no_core` tests.
2025-02-24 09:26:54 +00:00

14 lines
183 B
Rust

//@ add-core-stubs
//@ check-pass
#![feature(no_core, lang_items)]
#![no_core]
#![crate_type = "lib"]
extern crate minicore;
use minicore::*;
extern "C" {
pub static A: u32;
}