aboutsummaryrefslogtreecommitdiff
path: root/src/test/compile-fail
diff options
context:
space:
mode:
authorMatt Brubeck <[email protected]>2010-07-08 17:01:25 +0800
committerGraydon Hoare <[email protected]>2010-07-08 22:43:15 +0800
commit244ea680820c205461ad5af979c0a722372e6dc6 (patch)
tree45d4da70ea8f68b84105bfdac48f8556519fb14e /src/test/compile-fail
parentSome more typestate tests. (diff)
downloadrust-244ea680820c205461ad5af979c0a722372e6dc6.tar.xz
rust-244ea680820c205461ad5af979c0a722372e6dc6.zip
Issue 66: Multi-line comments
Diffstat (limited to 'src/test/compile-fail')
-rw-r--r--src/test/compile-fail/unbalanced-comment.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/compile-fail/unbalanced-comment.rs b/src/test/compile-fail/unbalanced-comment.rs
new file mode 100644
index 00000000..c22df4ec
--- /dev/null
+++ b/src/test/compile-fail/unbalanced-comment.rs
@@ -0,0 +1,9 @@
+// -*- rust -*-
+
+/*
+ * This is an un-balanced /* multi-line comment.
+ */
+
+fn main() {
+ log "hello, world.";
+}