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