diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2012-03-16 16:23:02 +0000 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2012-03-16 16:23:02 +0000 |
commit | 9f598bbc229cd94297f46b8ffac36aeee4451e7e (patch) | |
tree | a8cbce21893110eca71b77c7e42536c8119c593c /testsuite/tests/th/T5886a.hs | |
parent | 3582eeafff1cef9457f0ad6f18df2f0b9f86b096 (diff) | |
download | haskell-9f598bbc229cd94297f46b8ffac36aeee4451e7e.tar.gz |
Test Trac #5886
Diffstat (limited to 'testsuite/tests/th/T5886a.hs')
-rw-r--r-- | testsuite/tests/th/T5886a.hs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/tests/th/T5886a.hs b/testsuite/tests/th/T5886a.hs new file mode 100644 index 0000000000..4c6f433b5f --- /dev/null +++ b/testsuite/tests/th/T5886a.hs @@ -0,0 +1,14 @@ +{-# LANGUAGE UnicodeSyntax #-} +{-# LANGUAGE TemplateHaskell #-} +{-# LANGUAGE TypeFamilies #-} + +module T5886a where + +import Language.Haskell.TH + +class C α where + type AT α ∷ ★ + +bang ∷ DecsQ +bang = return [InstanceD [] (AppT (ConT ''C) (ConT ''Int)) + [TySynInstD ''AT [ConT ''Int] (ConT ''Int)]] |