about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2018-11-27 10:56:49 +0100
committerOliver Scherer <github35764891676564198441@oli-obk.de>2018-12-04 10:06:05 +0100
commit296398ab52ec4beebea4523aee5f2ffd6c0ca75d (patch)
tree30461462ef9c3ba9a5a5a482277a8b0dcc4de16c /src
parent61efc3b71b28e5adde5a7e0b71e519e3d5001917 (diff)
downloadrust-296398ab52ec4beebea4523aee5f2ffd6c0ca75d.tar.gz
rust-296398ab52ec4beebea4523aee5f2ffd6c0ca75d.zip
Add a test ensuring that we don't regress this
Diffstat (limited to 'src')
-rw-r--r--src/test/ui/loud_ui.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/loud_ui.rs b/src/test/ui/loud_ui.rs
new file mode 100644
index 00000000000..7f98d81cd5c
--- /dev/null
+++ b/src/test/ui/loud_ui.rs
@@ -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