summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/TH_repGuard.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/TH_repGuard.stderr')
-rw-r--r--testsuite/tests/th/TH_repGuard.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/th/TH_repGuard.stderr b/testsuite/tests/th/TH_repGuard.stderr
new file mode 100644
index 0000000000..896793a113
--- /dev/null
+++ b/testsuite/tests/th/TH_repGuard.stderr
@@ -0,0 +1,7 @@
+foo :: GHC.Types.Int -> GHC.Types.Int
+foo x_0 | x_0 GHC.Classes.== 5 = 6
+foo x_1 = 7
+bar :: Data.Maybe.Maybe GHC.Types.Int -> GHC.Types.Int
+bar x_0 | Data.Maybe.Just y_1 <- x_0
+ = y_1
+bar _ = 9