about summary refs log tree commit diff
path: root/src/test/ui/feature-gates/feature-gate-custom_test_frameworks.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/feature-gates/feature-gate-custom_test_frameworks.rs')
-rw-r--r--src/test/ui/feature-gates/feature-gate-custom_test_frameworks.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/ui/feature-gates/feature-gate-custom_test_frameworks.rs b/src/test/ui/feature-gates/feature-gate-custom_test_frameworks.rs
index 0a200497939..83bb153ba08 100644
--- a/src/test/ui/feature-gates/feature-gate-custom_test_frameworks.rs
+++ b/src/test/ui/feature-gates/feature-gate-custom_test_frameworks.rs
@@ -1,3 +1,6 @@
 #![test_runner(main)] //~ ERROR custom test frameworks are an unstable feature
 
+#[test_case] //~ ERROR custom test frameworks are an unstable feature
+fn f() {}
+
 fn main() {}