summaryrefslogtreecommitdiff
path: root/testsuite/tests/programs/cvh_unboxing/Main.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/programs/cvh_unboxing/Main.lhs')
-rw-r--r--testsuite/tests/programs/cvh_unboxing/Main.lhs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/programs/cvh_unboxing/Main.lhs b/testsuite/tests/programs/cvh_unboxing/Main.lhs
new file mode 100644
index 0000000000..be874a5258
--- /dev/null
+++ b/testsuite/tests/programs/cvh_unboxing/Main.lhs
@@ -0,0 +1,10 @@
+\begin{code}
+{-# LANGUAGE MagicHash #-}
+
+import GHC.Exts
+import Types
+import Append
+
+main = putStr (show (append_FC_L_L (FC2 a_ a_) []))
+ where a_ = case 'a' of { C# x -> x }
+\end{code}