Commit faa68429 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Test Trac #5996

parent ee65883b
......@@ -111,3 +111,7 @@ T7995:
T8221:
'$(TEST_HC)' $(TEST_HC_OPTS) -c -O -fforce-recomp T8221a.hs
'$(TEST_HC)' $(TEST_HC_OPTS) -c -O -fforce-recomp T8221.hs
T5996:
$(RM) -f T5996.o T5996.hi
'$(TEST_HC)' $(TEST_HC_OPTS) -O -c T5996.hs -ddump-simpl -dsuppress-uniques -dsuppress-all | grep y2
module T5996 where
data C a b = C a b
a = undefined
{-# NOINLINE a #-}
b = undefined
{-# NOINLINE b #-}
x1 = C a b
x2 = C x1 b
y1 = C a b
y2 = C y1 b
......@@ -193,3 +193,7 @@ test('T8221',
run_command,
['$MAKE -s --no-print-directory T8221'])
test('T8329', only_ways(['optasm']), multimod_compile, ['T8329','-v0 -O'])
test('T5996',
normal,
run_command,
['$MAKE -s --no-print-directory T5996'])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment