summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/test-listing-format-json.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/feature-gates/test-listing-format-json.rs')
-rw-r--r--tests/ui/feature-gates/test-listing-format-json.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/ui/feature-gates/test-listing-format-json.rs b/tests/ui/feature-gates/test-listing-format-json.rs
new file mode 100644
index 000000000..2dd0e10b5
--- /dev/null
+++ b/tests/ui/feature-gates/test-listing-format-json.rs
@@ -0,0 +1,18 @@
+// no-prefer-dynamic
+// compile-flags: --test
+// run-flags: --list --format json -Zunstable-options
+// run-fail
+// check-run-results
+// ignore-nightly
+// unset-exec-env:RUSTC_BOOTSTRAP
+
+#![cfg(test)]
+#[test]
+fn m_test() {}
+
+#[test]
+#[ignore = "not yet implemented"]
+fn z_test() {}
+
+#[test]
+fn a_test() {}