Skip to content

Commit

Permalink
Add a test and bless existing test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
crlf0710 committed Nov 23, 2019
1 parent d5edcb4 commit 0e3036b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ui/codemap_tests/unicode_2.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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̐é;
Expand Down
8 changes: 8 additions & 0 deletions src/test/ui/rfc-2457/idents-normalized.rs
Original file line number Diff line number Diff line change
@@ -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']
}

0 comments on commit 0e3036b

Please sign in to comment.