summaryrefslogtreecommitdiff
path: root/testsuite/tests/printer/Ppr048.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/printer/Ppr048.hs')
-rw-r--r--testsuite/tests/printer/Ppr048.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/printer/Ppr048.hs b/testsuite/tests/printer/Ppr048.hs
new file mode 100644
index 0000000000..83322f8ca4
--- /dev/null
+++ b/testsuite/tests/printer/Ppr048.hs
@@ -0,0 +1,9 @@
+module Ppr048 where
+
+{-# SCc foo #-}
+foo :: Int -> Int
+foo x = x
+
+{-# SCc foo2 "label" #-}
+foo2 :: ()
+foo2 = ()