summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-custom_test_frameworks.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/feature-gates/feature-gate-custom_test_frameworks.rs')
-rw-r--r--tests/ui/feature-gates/feature-gate-custom_test_frameworks.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/feature-gates/feature-gate-custom_test_frameworks.rs b/tests/ui/feature-gates/feature-gate-custom_test_frameworks.rs
new file mode 100644
index 000000000..83bb153ba
--- /dev/null
+++ b/tests/ui/feature-gates/feature-gate-custom_test_frameworks.rs
@@ -0,0 +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() {}