Commit db8f08c0 authored by simonpj's avatar simonpj

Add test for Trac #2632

parent ab724eab
{-# LANGUAGE TemplateHaskell #-}
-- Trac #2632
module MkData where
import Language.Haskell.TH
op a b = a + b
decl1 = [d| func = 0 `op` 3 |]
decl2 = [d| op x = x
func = 0 `op` 3 |]
......@@ -114,6 +114,7 @@ test('TH_runIO', normal, compile_fail, ['-v0'])
test('TH_ghci1', normal, ghci_script, ['TH_ghci1.script'])
test('TH_scope', normal, compile, [''])
test('T2632', normal, compile, [''])
test('T2386', extra_clean(['T2386_Lib.hi', 'T2386_Lib.o']),
run_command,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment