diff options
Diffstat (limited to 'testsuite/tests/deSugar/should_compile/T5252.hs')
-rw-r--r-- | testsuite/tests/deSugar/should_compile/T5252.hs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/deSugar/should_compile/T5252.hs b/testsuite/tests/deSugar/should_compile/T5252.hs new file mode 100644 index 0000000000..e2498c4089 --- /dev/null +++ b/testsuite/tests/deSugar/should_compile/T5252.hs @@ -0,0 +1,13 @@ +-- Trac #5252
+-- Killed 7.03 when compiled witout -O,
+-- because it could not see that x had a product type
+-- but MkS still unpacked it
+
+module T5252 where
+import T5252a
+
+blah :: S -> T
+blah (MkS x _) = x
+
+
+
|