diff options
| author | Matt Brubeck <[email protected]> | 2010-07-08 17:01:25 +0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-08 22:43:15 +0800 |
| commit | 244ea680820c205461ad5af979c0a722372e6dc6 (patch) | |
| tree | 45d4da70ea8f68b84105bfdac48f8556519fb14e /src/test/compile-fail | |
| parent | Some more typestate tests. (diff) | |
| download | rust-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.rs | 9 |
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."; +} |