summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/exactprint/LocToName.expected.hs
diff options
context:
space:
mode:
authorGHC GitLab CI <ghc-ci@gitlab-haskell.org>2021-03-21 22:58:14 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-23 20:44:11 -0400
commit25306ddc00c2236564bcfebd55a3f61ffa6d182e (patch)
tree432ee092c243c4963c5c804a2926da924aece70b /testsuite/tests/ghc-api/exactprint/LocToName.expected.hs
parentdf895b3f972e0062a81c8c136fa9fdd79badea5c (diff)
downloadhaskell-25306ddc00c2236564bcfebd55a3f61ffa6d182e.tar.gz
EPA: Run exactprint transformation tests as part of CI
EPA == exact print annotations. When !2418 landed, it did not run the tests brought over from ghc-exactprint for making sure the AST prints correctly efter being edited. This enables those tests.
Diffstat (limited to 'testsuite/tests/ghc-api/exactprint/LocToName.expected.hs')
-rw-r--r--testsuite/tests/ghc-api/exactprint/LocToName.expected.hs25
1 files changed, 25 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-api/exactprint/LocToName.expected.hs b/testsuite/tests/ghc-api/exactprint/LocToName.expected.hs
new file mode 100644
index 0000000000..0b1484873a
--- /dev/null
+++ b/testsuite/tests/ghc-api/exactprint/LocToName.expected.hs
@@ -0,0 +1,25 @@
+module LocToName where
+
+{-
+
+
+
+
+
+
+
+
+-}
+
+
+
+
+
+
+
+LocToName.newPoint (x:xs) = x ^2 + LocToName.newPoint xs
+ -- where sq x = x ^pow
+ -- pow = 2
+
+LocToName.newPoint [] = 0
+