rust/src/test/ui/static_sized_requirement.rs
2018-10-16 17:01:24 +02:00

13 lines
154 B
Rust

// compile-pass
#![feature(no_core, lang_items)]
#![no_core]
#![crate_type = "lib"]
#[lang = "sized"]
trait Sized {}
extern {
pub static A: u32;
}