rust/tests/ui/static/static_sized_requirement.rs
2023-01-11 09:32:08 +00:00

13 lines
193 B
Rust

// build-pass (FIXME(62277): could be check-pass?)
#![feature(no_core, lang_items)]
#![no_core]
#![crate_type = "lib"]
#[lang = "sized"]
trait Sized {}
extern "C" {
pub static A: u32;
}