summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/exactprint/EmptyWheres.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-api/exactprint/EmptyWheres.hs')
-rw-r--r--testsuite/tests/ghc-api/exactprint/EmptyWheres.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-api/exactprint/EmptyWheres.hs b/testsuite/tests/ghc-api/exactprint/EmptyWheres.hs
new file mode 100644
index 0000000000..edc0570012
--- /dev/null
+++ b/testsuite/tests/ghc-api/exactprint/EmptyWheres.hs
@@ -0,0 +1,9 @@
+module EmptyWheres where
+
+x = 2 where
+y = 3
+
+instance Foo1 Int where
+
+ff = ff where g = g where
+type T = Int