rust/tests/ui/static/static_sized_requirement.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
193 B
Rust
Raw Normal View History

// build-pass (FIXME(62277): could be check-pass?)
2018-10-15 18:48:25 +00:00
#![feature(no_core, lang_items)]
#![no_core]
#![crate_type = "lib"]
#[lang = "sized"]
trait Sized {}
2020-09-01 21:12:52 +00:00
extern "C" {
2018-10-15 18:48:25 +00:00
pub static A: u32;
}