Skip to content

Commit fbbc739

Browse files
committed
Add test for no_core statics
1 parent 4dcf491 commit fbbc739

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// compile-pass
2+
3+
#![feature(no_core, lang_items)]
4+
#![no_core]
5+
#![crate_type = "lib"]
6+
7+
#[lang = "sized"]
8+
trait Sized {}
9+
10+
extern {
11+
pub static A: u32;
12+
}

0 commit comments

Comments
 (0)