diff options
Diffstat (limited to 'tests/ui/abi/abi-typo-unstable.rs')
-rw-r--r-- | tests/ui/abi/abi-typo-unstable.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/abi/abi-typo-unstable.rs b/tests/ui/abi/abi-typo-unstable.rs new file mode 100644 index 000000000..94991a5eb --- /dev/null +++ b/tests/ui/abi/abi-typo-unstable.rs @@ -0,0 +1,6 @@ +// rust-intrinsic is unstable and not enabled, so it should not be suggested as a fix +extern "rust-intrinsec" fn rust_intrinsic() {} //~ ERROR invalid ABI + +fn main() { + rust_intrinsic(); +} |