summaryrefslogtreecommitdiffstats
path: root/src/test/pretty/tests-are-sorted.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/pretty/tests-are-sorted.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/pretty/tests-are-sorted.rs b/src/test/pretty/tests-are-sorted.rs
new file mode 100644
index 000000000..1f737d547
--- /dev/null
+++ b/src/test/pretty/tests-are-sorted.rs
@@ -0,0 +1,13 @@
+// compile-flags: --crate-type=lib --test
+// pretty-compare-only
+// pretty-mode:expanded
+// pp-exact:tests-are-sorted.pp
+
+#[test]
+fn m_test() {}
+
+#[test]
+fn z_test() {}
+
+#[test]
+fn a_test() {}