summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/exactprint/Test20239.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-api/exactprint/Test20239.hs')
-rw-r--r--testsuite/tests/ghc-api/exactprint/Test20239.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-api/exactprint/Test20239.hs b/testsuite/tests/ghc-api/exactprint/Test20239.hs
new file mode 100644
index 0000000000..4f7d1e6216
--- /dev/null
+++ b/testsuite/tests/ghc-api/exactprint/Test20239.hs
@@ -0,0 +1,7 @@
+module Test20239 where
+
+-- | Leading Haddock Comment
+data instance Method PGMigration = MigrationQuery Query
+ -- ^ Run a query against the database
+ | MigrationCode (Connection -> IO (Either String ()))
+ -- ^ Run any arbitrary IO code