summaryrefslogtreecommitdiff
path: root/testsuite/tests/printer/Test22771.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/printer/Test22771.hs')
-rw-r--r--testsuite/tests/printer/Test22771.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuite/tests/printer/Test22771.hs b/testsuite/tests/printer/Test22771.hs
index b935a511d0..c711471fb6 100644
--- a/testsuite/tests/printer/Test22771.hs
+++ b/testsuite/tests/printer/Test22771.hs
@@ -14,8 +14,9 @@ import GHC.Prim (Addr#)
instance KnownSymbol symbol => IsLabel symbol String where
fromLabel = symbolVal (Proxy :: Proxy symbol)
-(#) :: String -> Int -> String
+(#), (#.) :: String -> Int -> String
(#) _ i = show i
+_ #. i = show i
f :: Addr# -> Int -> String
f _ i = show i
@@ -28,13 +29,13 @@ main = traverse_ putStrLn
, #type
, #Foo
, #3
- , #199.4
+ , #"199.4"
, #17a23b
, #f'a'
, #'a'
, #'
, #''notTHSplice
- , #...
+ , #"..."
, #привет
, #こんにちは
, #"3"