summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/should_fail/T14608.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/should_fail/T14608.hs')
-rw-r--r--testsuite/tests/ghci/should_fail/T14608.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/should_fail/T14608.hs b/testsuite/tests/ghci/should_fail/T14608.hs
new file mode 100644
index 0000000000..87d5617e5c
--- /dev/null
+++ b/testsuite/tests/ghci/should_fail/T14608.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE UnboxedTuples #-}
+module T14608 where
+
+data UnboxedTupleData = MkUTD (# (),() #)
+
+doThings :: UnboxedTupleData -> ()
+doThings (MkUTD t) = ()