We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86b19d4 commit e1e6f32Copy full SHA for e1e6f32
tests/ui/parser/unicode-multibyte-chars-no-ice.rs
@@ -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
+
8
//@ run-pass
-//
9
-// Test that multibyte characters don't crash the compiler
10
pub fn main() {
11
println!("마이너스 사인이 없으면");
12
}
0 commit comments