aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/compile-fail/does-nothing.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/compile-fail/does-nothing.rs b/src/test/compile-fail/does-nothing.rs
new file mode 100644
index 00000000..805d3142
--- /dev/null
+++ b/src/test/compile-fail/does-nothing.rs
@@ -0,0 +1,7 @@
+// error-pattern: does nothing
+fn main() {
+ log "doing";
+ this_does_nothing_what_the;
+ log "boing";
+}
+