Skip to content

Commit e1e6f32

Browse files
committed
docs | multibyte.rs
1 parent 86b19d4 commit e1e6f32

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
//! Test that multibyte Unicode characters don't crash the compiler.
2+
//!
3+
//! This checks that the parser correctly handles non-ASCII characters
4+
//! in string literals without causing an ICE.
5+
//!
6+
//! Regression test for <https://github.com/rust-lang/rust/issues/4780>.
7+
18
//@ run-pass
2-
//
39

4-
// Test that multibyte characters don't crash the compiler
510
pub fn main() {
611
println!("마이너스 사인이 없으면");
712
}

0 commit comments

Comments
 (0)