summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/exactprint/RmDecl6.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-api/exactprint/RmDecl6.hs')
-rw-r--r--testsuite/tests/ghc-api/exactprint/RmDecl6.hs12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-api/exactprint/RmDecl6.hs b/testsuite/tests/ghc-api/exactprint/RmDecl6.hs
new file mode 100644
index 0000000000..cab5093ce8
--- /dev/null
+++ b/testsuite/tests/ghc-api/exactprint/RmDecl6.hs
@@ -0,0 +1,12 @@
+module RmDecl6 where
+
+foo a = baz
+ where
+ baz :: Int
+ baz = x + a
+
+ x = 1
+
+ y :: Int -> Int -> Int
+ y a b = undefined
+