summaryrefslogtreecommitdiff
path: root/tests/examples/ghc86/T4169.hs
blob: bb23f1c1160728ff024c3990dc1f041d02edfa4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
-- Crashed GHC 6.12
{-# LANGUAGE TemplateHaskell #-}

module T4165 where

import Language.Haskell.TH
class Numeric a where
    fromIntegerNum :: a
    fromIntegerNum = undefined

ast :: Q [Dec]
ast = [d|
    instance Numeric Int
    |]