diff options
Diffstat (limited to 'testsuite/tests/th/TH_runIO.hs')
-rw-r--r-- | testsuite/tests/th/TH_runIO.hs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/th/TH_runIO.hs b/testsuite/tests/th/TH_runIO.hs new file mode 100644 index 0000000000..7a1f4c3d70 --- /dev/null +++ b/testsuite/tests/th/TH_runIO.hs @@ -0,0 +1,12 @@ +{-# LANGUAGE TemplateHaskell #-} + +-- See Trac #1678 + +module TH where + +import Language.Haskell.TH + + +-- foo = $(fail "hi") + +foo = $(runIO (fail "hi")) |