2015-01-23 19:35:10 -05:00
|
|
|
//@ error-pattern: requires `copy` lang_item
|
|
|
|
|
2015-07-29 17:01:14 -07:00
|
|
|
#![feature(lang_items, start, no_core)]
|
|
|
|
#![no_core]
|
2015-01-23 19:35:10 -05:00
|
|
|
|
|
|
|
#[lang = "sized"]
|
2015-03-31 19:58:01 -04:00
|
|
|
trait Sized { }
|
2015-01-23 19:35:10 -05:00
|
|
|
|
2015-06-05 17:27:27 +03:00
|
|
|
struct S;
|
|
|
|
|
2015-01-23 19:35:10 -05:00
|
|
|
#[start]
|
2015-03-25 17:06:52 -07:00
|
|
|
fn main(_: isize, _: *const *const u8) -> isize {
|
2015-06-05 17:27:27 +03:00
|
|
|
let _ = S;
|
2015-01-23 19:35:10 -05:00
|
|
|
0
|
|
|
|
}
|