Commit 991a6fdd authored by Simon Marlow's avatar Simon Marlow

Add test for #7574

parent 62973689
#include "Cmm.h"
testLiteralBranch (W_ dst, W_ src)
{
if (1) {
prim %memcpy(dst, src, 1024, 4);
} else {
prim %memcpy(dst, src, 512, 8);
}
return ();
}
......@@ -20,3 +20,5 @@ test('massive_array',
[ when(arch('i386'), omit_ways(['llvm', 'optllvm'])) ],
compile, ['-fPIC'])
test('T7237', normal, compile, [''])
test('T7574', cmm_src, compile, [''])
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