diff options
Diffstat (limited to 'src/test/ui/feature-gates/feature-gate-abi_unadjusted.rs')
-rw-r--r-- | src/test/ui/feature-gates/feature-gate-abi_unadjusted.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/ui/feature-gates/feature-gate-abi_unadjusted.rs b/src/test/ui/feature-gates/feature-gate-abi_unadjusted.rs new file mode 100644 index 000000000..35a7d7328 --- /dev/null +++ b/src/test/ui/feature-gates/feature-gate-abi_unadjusted.rs @@ -0,0 +1,7 @@ +extern "unadjusted" fn foo() { +//~^ ERROR: unadjusted ABI is an implementation detail and perma-unstable +} + +fn main() { + foo(); +} |