Add test for no_core statics

This commit is contained in:
Oliver Scherer 2018-10-15 20:48:25 +02:00
parent 4dcf49121c
commit fbbc73969b

View File

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