PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 3// error-pattern: unterminated block comment
 4
 5/*
 6 * This is an un-balanced /* multi-line comment.
 7 */
 8
 9fn main() {
10  debug!{"hello, world."};
11}