summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/unicode/T7650.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/unicode/T7650.hs')
-rw-r--r--testsuite/tests/parser/unicode/T7650.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/parser/unicode/T7650.hs b/testsuite/tests/parser/unicode/T7650.hs
new file mode 100644
index 0000000000..c474bc0645
--- /dev/null
+++ b/testsuite/tests/parser/unicode/T7650.hs
@@ -0,0 +1,11 @@
+main = print spın̈alTap
+ where spın̈alTap = 11
+
+-- n̈ is a combining character sequence. We now allow it to be used in
+-- identifiers (#7650).
+--
+-- > map generalCategory "n̈"
+-- [LowercaseLetter,NonSpacingMark]
+--
+-- > map show "n̈"
+-- ["'n'","'\776'"]