diff options
author | Zubin Duggal <zubin.duggal@gmail.com> | 2021-06-14 23:23:08 +0530 |
---|---|---|
committer | Zubin Duggal <zubin.duggal@gmail.com> | 2021-06-14 23:23:15 +0530 |
commit | 338ddaa5e7c8a1f956b8553cf09810bed45f78f7 (patch) | |
tree | 746d3cccb0620406935694d5052e6f2bc8284558 | |
parent | 3d5cb3352c1e1c20f0d5de427f4edbc765ce06d6 (diff) | |
download | haskell-wip/19988-test.tar.gz |
testsuite: Add broken tests for #19988wip/19988-test
-rw-r--r-- | testsuite/tests/th/T19988.hs | 10 | ||||
-rw-r--r-- | testsuite/tests/th/all.T | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/th/T19988.hs b/testsuite/tests/th/T19988.hs new file mode 100644 index 0000000000..c50ac8de79 --- /dev/null +++ b/testsuite/tests/th/T19988.hs @@ -0,0 +1,10 @@ +{-# LANGUAGE TemplateHaskell #-} +{-# LANGUAGE TypeApplications #-} +module THSpliceType where + +import Language.Haskell.TH + +foo :: Q Exp +foo = + let myType = [t| Int |] + in [| id @ $myType |] diff --git a/testsuite/tests/th/all.T b/testsuite/tests/th/all.T index 029353cfc3..c39c052e62 100644 --- a/testsuite/tests/th/all.T +++ b/testsuite/tests/th/all.T @@ -529,3 +529,4 @@ test('T17804', normal, compile, ['']) test('T19470', only_ways(['ghci']), ghci_script, ['T19470.script']) test('T19737', normal, compile, ['']) test('T19759', normal, compile, ['']) +test('T19988', expect_broken(19988), compile, ['']) |