mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
11 lines
233 B
Rust
11 lines
233 B
Rust
// 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
|
|
}
|