summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/safeInfered/SafeInfered02_A.hs
blob: bf9b8c9e7020ba837f0d781f0e023d8542540a37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE DeriveDataTypeable #-}
-- | Only uses deriving of Typeable so should be considered safe
module SafeInfered02_A where

import Data.Typeable

data G = G Int deriving (Typeable)

f :: Int
f = 1