diff options
Diffstat (limited to 'tests/ui/deprecation-in-force-unstable.rs')
| -rw-r--r-- | tests/ui/deprecation-in-force-unstable.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/deprecation-in-force-unstable.rs b/tests/ui/deprecation-in-force-unstable.rs new file mode 100644 index 00000000000..4df9b802d45 --- /dev/null +++ b/tests/ui/deprecation-in-force-unstable.rs @@ -0,0 +1,5 @@ +// run-pass +// compile-flags:-Zforce-unstable-if-unmarked + +#[deprecated] // should work even with -Zforce-unstable-if-unmarked +fn main() { } |
