diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-50714-1.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-50714-1.rs b/src/test/ui/issues/issue-50714-1.rs new file mode 100644 index 000000000..a25940ce1 --- /dev/null +++ b/src/test/ui/issues/issue-50714-1.rs @@ -0,0 +1,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 +} |