summaryrefslogtreecommitdiffstats
path: root/tests/ui/test-attrs/tests-listing-format-terse.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/test-attrs/tests-listing-format-terse.rs')
-rw-r--r--tests/ui/test-attrs/tests-listing-format-terse.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/ui/test-attrs/tests-listing-format-terse.rs b/tests/ui/test-attrs/tests-listing-format-terse.rs
new file mode 100644
index 000000000..7835f7175
--- /dev/null
+++ b/tests/ui/test-attrs/tests-listing-format-terse.rs
@@ -0,0 +1,18 @@
+// no-prefer-dynamic
+// compile-flags: --test
+// run-flags: --list --format terse
+// run-pass
+// check-run-results
+
+// Checks the listing of tests with --format terse.
+
+#![cfg(test)]
+#[test]
+fn m_test() {}
+
+#[test]
+#[ignore = "not yet implemented"]
+fn z_test() {}
+
+#[test]
+fn a_test() {}