summaryrefslogtreecommitdiffstats
path: root/src/test/ui/multibyte.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/multibyte.rs')
-rw-r--r--src/test/ui/multibyte.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/ui/multibyte.rs b/src/test/ui/multibyte.rs
new file mode 100644
index 000000000..7e3a577f9
--- /dev/null
+++ b/src/test/ui/multibyte.rs
@@ -0,0 +1,7 @@
+// run-pass
+//
+
+// Test that multibyte characters don't crash the compiler
+pub fn main() {
+ println!("마이너스 사인이 없으면");
+}