diff options
| author | togami2864 <tuabobo123@gmail.com> | 2021-11-26 18:34:07 +0900 |
|---|---|---|
| committer | togami2864 <tuabobo123@gmail.com> | 2021-11-26 18:34:07 +0900 |
| commit | 140ba610e490c356bfbe982e62bf686232e5f394 (patch) | |
| tree | ae622d807b2e8271bd529299ff0000ee34a861a8 | |
| parent | 35b0f2438d72320a071aca1084e9c96c071c377d (diff) | |
| download | rust-140ba610e490c356bfbe982e62bf686232e5f394.tar.gz rust-140ba610e490c356bfbe982e62bf686232e5f394.zip | |
add test suit
| -rw-r--r-- | tests/ui/unicode.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/unicode.rs b/tests/ui/unicode.rs index 1f596c312fe..e0a4eadce33 100644 --- a/tests/ui/unicode.rs +++ b/tests/ui/unicode.rs @@ -20,8 +20,16 @@ fn uni() { print!("\u{DC}ben!"); // this is ok } +// issue 8013 +#[warn(clippy::non_ascii_literal)] +fn single_quote() { + const _EMPTY_BLOCK: char = '▱'; + const _FULL_BLOCK: char = '▰'; +} + fn main() { zero(); uni(); canon(); + single_quote(); } |
