]> git.lizzy.rs Git - rust.git/commitdiff
Add a test ensuring that we don't regress this
authorOliver Scherer <github35764891676564198441@oli-obk.de>
Tue, 27 Nov 2018 09:56:49 +0000 (10:56 +0100)
committerOliver Scherer <github35764891676564198441@oli-obk.de>
Tue, 4 Dec 2018 09:06:05 +0000 (10:06 +0100)
src/test/ui/loud_ui.rs [new file with mode: 0644]

diff --git a/src/test/ui/loud_ui.rs b/src/test/ui/loud_ui.rs
new file mode 100644 (file)
index 0000000..7f98d81
--- /dev/null
@@ -0,0 +1,6 @@
+// should-fail
+
+// this test ensures that when we forget to use
+// any `//~ ERROR` comments whatsoever, that the test doesn't succeed
+
+fn main() {}
\ No newline at end of file