Add a test and bless existing test case.

This commit is contained in:
Charles Lew 2019-11-23 22:37:46 +08:00
parent 0bcddfe23a
commit 541d879f71
2 changed files with 9 additions and 1 deletions

View File

@ -14,7 +14,7 @@ LL | let _ = ("아あ", 1i42);
|
= help: valid widths are 8, 16, 32, 64 and 128
error[E0425]: cannot find value `a̐` in this scope
error[E0425]: cannot find value `a̐é` in this scope
--> $DIR/unicode_2.rs:6:13
|
LL | let _ = a̐é;

View File

@ -0,0 +1,8 @@
// check-pass
#![feature(non_ascii_idents)]
struct Résumé; // ['LATIN SMALL LETTER E WITH ACUTE']
fn main() {
let _ = Résumé; // ['LATIN SMALL LETTER E', 'COMBINING ACUTE ACCENT']
}