summary refs log tree commit diff stats
path: root/tests/parser/tunicodeidents.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parser/tunicodeidents.nim')
-rw-r--r--tests/parser/tunicodeidents.nim11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/parser/tunicodeidents.nim b/tests/parser/tunicodeidents.nim
new file mode 100644
index 000000000..3347eb7a9
--- /dev/null
+++ b/tests/parser/tunicodeidents.nim
@@ -0,0 +1,11 @@
+discard """
+    action: run
+"""
+
+# #7884
+
+type Obj = object
+    ö: int
+
+let o = Obj(ö: 1)
+doAssert o.ö == 1