diff options
Diffstat (limited to 'testsuite/tests/th/T20060.hs')
-rw-r--r-- | testsuite/tests/th/T20060.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/th/T20060.hs b/testsuite/tests/th/T20060.hs new file mode 100644 index 0000000000..cbf78c3215 --- /dev/null +++ b/testsuite/tests/th/T20060.hs @@ -0,0 +1,11 @@ +{-# LANGUAGE TemplateHaskell #-} +{-# OPTIONS_GHC -O2 #-} +module THBug where + +data A +data B + +concat <$> mapM (\_ -> (pure [])) + [ ''A + , ''B + ] |