diff options
Diffstat (limited to 'testsuite/tests/quotes/T4169.hs')
-rw-r--r-- | testsuite/tests/quotes/T4169.hs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/quotes/T4169.hs b/testsuite/tests/quotes/T4169.hs new file mode 100644 index 0000000000..cdef4a2e3a --- /dev/null +++ b/testsuite/tests/quotes/T4169.hs @@ -0,0 +1,13 @@ +-- Crashed GHC 6.12 + +module T4165 where + +import Language.Haskell.TH +class Numeric a where + fromIntegerNum :: a + fromIntegerNum = undefined + +ast :: Q [Dec] +ast = [d| + instance Numeric Int + |] |