summaryrefslogtreecommitdiffstats
path: root/src/test/ui/utf8_idents.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/utf8_idents.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/ui/utf8_idents.rs b/src/test/ui/utf8_idents.rs
new file mode 100644
index 000000000..1f6326dd9
--- /dev/null
+++ b/src/test/ui/utf8_idents.rs
@@ -0,0 +1,16 @@
+// check-pass
+//
+#![allow(mixed_script_confusables, non_camel_case_types)]
+
+fn foo<
+ 'β,
+ γ
+>() {}
+
+struct X {
+ δ: usize
+}
+
+pub fn main() {
+ let α = 0.00001f64;
+}