rust/src/test/compile-fail/unbalanced-doublequote.rs
Wade Mealing f375391cb6 Patch to error instead of crashing when parsing unmatched double quotes
Patch to error and fail instead of using all available memory
then crashing to detect the error condition of an unmatched
double quote before the end of a file.

I couldn't get it to show nice error messages, so this may not be
the ideal fix.

A test case for this situation has also been added.
2011-09-27 23:20:31 -07:00

9 lines
90 B
Rust

// -*- rust -*-
// error-pattern: unterminated double quote string
fn main() {
"
}