rust/tests/ui/issues/issue-50714-1.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
233 B
Rust
Raw Normal View History

// Regression test for issue 50714, make sure that this isn't a linker error.
#![no_std]
#![feature(start)]
extern crate std;
#[start]
fn start(_: isize, _: *const *const u8) -> isize where fn(&()): Eq { //~ ERROR [E0647]
0
}