2014-09-23 00:18:54 -05:00
|
|
|
// Test that a missing lang item (in this case `sized`) does not cause an ICE,
|
|
|
|
// see #17392.
|
|
|
|
|
|
|
|
//@ error-pattern: requires `sized` lang_item
|
|
|
|
|
2015-07-29 19:01:14 -05:00
|
|
|
#![feature(start, no_core)]
|
|
|
|
#![no_core]
|
2014-09-23 00:18:54 -05:00
|
|
|
|
|
|
|
#[start]
|
2015-01-08 04:54:35 -06:00
|
|
|
fn start(argc: isize, argv: *const *const u8) -> isize {
|
2014-09-23 00:18:54 -05:00
|
|
|
0
|
|
|
|
}
|