summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/T6145.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-api/T6145.hs')
-rw-r--r--testsuite/tests/ghc-api/T6145.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/ghc-api/T6145.hs b/testsuite/tests/ghc-api/T6145.hs
index 42fc93bb07..0332b05a51 100644
--- a/testsuite/tests/ghc-api/T6145.hs
+++ b/testsuite/tests/ghc-api/T6145.hs
@@ -35,7 +35,7 @@ main = do
getDataCon (L _ (AbsBinds { abs_binds = bs }))
= not (isEmptyBag (filterBag getDataCon bs))
getDataCon (L l (f@FunBind {}))
- | (MatchGroup (m:_) _)<-fun_matches f,
+ | (MG (m:_) _ _) <- fun_matches f,
(L _ (c@ConPatOut{}):_)<-hsLMatchPats m,
(L l _)<-pat_con c
= isGoodSrcSpan l -- Check that the source location is a good one