]> git.lizzy.rs Git - rust.git/blob - tests/ui/lang-items/lang-item-missing.rs
Rollup merge of #107692 - Swatinem:printsizeyield, r=compiler-errors
[rust.git] / tests / ui / lang-items / lang-item-missing.rs
1 // Test that a missing lang item (in this case `sized`) does not cause an ICE,
2 // see #17392.
3
4 // error-pattern: requires `sized` lang_item
5
6 #![feature(start, no_core)]
7 #![no_core]
8
9 #[start]
10 fn start(argc: isize, argv: *const *const u8) -> isize {
11     0
12 }