From b6cf84f3e03cabc6a52b102b1178df319eb773b4 Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Tue, 21 May 2013 12:55:54 -0700 Subject: [PATCH] testsuite: Test for #4780 --- src/test/run-pass/multibyte.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/test/run-pass/multibyte.rs diff --git a/src/test/run-pass/multibyte.rs b/src/test/run-pass/multibyte.rs new file mode 100644 index 00000000000..7cb959b3437 --- /dev/null +++ b/src/test/run-pass/multibyte.rs @@ -0,0 +1,14 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +// Test that multibyte characters don't crash the compiler +fn main() { + io::println("마이너스 사인이 없으면"); +}