blob: 180ac2f1a4c3037a61fb823339ea098dd1d57c4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE StandaloneDeriving #-}
module ShouldFail1_0 where
import GHC.Generics (Generic1)
data X a = X
deriving instance Generic1 X
-- Should fail (no XDeriveGeneric)
|