/src/test/compile-fail/unbalanced-comment.rs

http://github.com/jruderman/rust · Rust · 11 lines · 0 code · 2 blank · 9 comment · 0 complexity · 3a1bc4c61cc8f778e61fe0649284ab87 MD5 · raw file

  1. // -*- rust -*-
  2. // error-pattern: unterminated block comment
  3. /*
  4. * This is an un-balanced /* multi-line comment.
  5. */
  6. fn main() {
  7. debug!{"hello, world."};
  8. }