about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/ui/unicode.rs8
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();
 }