diff options
Diffstat (limited to 'tests/ui/feature-gates/feature-gate-check-cfg.rs')
-rw-r--r-- | tests/ui/feature-gates/feature-gate-check-cfg.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/feature-gates/feature-gate-check-cfg.rs b/tests/ui/feature-gates/feature-gate-check-cfg.rs new file mode 100644 index 000000000..4012a3b04 --- /dev/null +++ b/tests/ui/feature-gates/feature-gate-check-cfg.rs @@ -0,0 +1,3 @@ +// compile-flags: --check-cfg "names()" + +fn main() {} |