diff options
Diffstat (limited to 'src/test/ui/deprecation-in-force-unstable.rs')
-rw-r--r-- | src/test/ui/deprecation-in-force-unstable.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/ui/deprecation-in-force-unstable.rs b/src/test/ui/deprecation-in-force-unstable.rs new file mode 100644 index 000000000..4df9b802d --- /dev/null +++ b/src/test/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() { } |