diff options
Diffstat (limited to 'tests/ui/error-codes/E0647.rs')
-rw-r--r-- | tests/ui/error-codes/E0647.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0647.rs b/tests/ui/error-codes/E0647.rs new file mode 100644 index 000000000..fc085511c --- /dev/null +++ b/tests/ui/error-codes/E0647.rs @@ -0,0 +1,9 @@ +#![no_std] +#![feature(start)] + +extern crate std; + +#[start] +fn start(_: isize, _: *const *const u8) -> isize where (): Copy { //~ ERROR [E0647] + 0 +} |