summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T12178a.hs
blob: 9a94baafbf09d60c0ddbdc8038686cdb315244c1 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE PatternSynonyms #-}

module T12178a where

-- Trying to inline a data constructor fails
data L a = C a (L a) | T
{-# INLINE C #-}