Commit b5b66131 authored by Joachim Breitner's avatar Joachim Breitner
Browse files

Ensure nested CPR does not break havoc with repeat

...not that we do have nested CPR right now, but when we do, this should
better not break.
parent d2bcc796
repeat' :: x -> [x]
repeat' x = x : repeat' x
main = print (repeat' () !! 10 )
TOP=../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
# Just do the opt way...
def f( name, opts ):
opts.only_ways = ['optasm']
setTestOpts(f)
test('CPRRepeat', normal, compile_and_run, [''])
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