summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-50714-1.rs
blob: a25940ce1cbef463873a4ccc8ced7f26fa4b0ab2 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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
}