diff options
Diffstat (limited to 'testsuite/tests/th/TH_unboxedSingleton.hs')
-rw-r--r-- | testsuite/tests/th/TH_unboxedSingleton.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/th/TH_unboxedSingleton.hs b/testsuite/tests/th/TH_unboxedSingleton.hs new file mode 100644 index 0000000000..d932285870 --- /dev/null +++ b/testsuite/tests/th/TH_unboxedSingleton.hs @@ -0,0 +1,7 @@ +{-# LANGUAGE TemplateHaskell, UnboxedTuples #-} + +module TH_unboxedSingleton where + +f :: () -> (# Int #) +f () = $( [| (# 3 #) |] ) + |