This currently causes a GCC error when it tries to build the thunk.
_dEF2_a0_exp:
_S(1) = _allocThunk (Main_fun, 2, 1);
_TARG(_S(1), 0) = 2; ********** type error
_S(2) = _allocThunk (System_Console_putStr, 1, 0);
_S(3) = _allocThunk (Class_Show_instance_Show_Int32_show, 1, 0);
./test/Broken-skip/T1-CurryUnboxed/Main.ddc.c: In function ‘Main_main’:
./test/Broken-skip/T1-CurryUnboxed/Main.ddc.c:39: warning: assignment makes pointer from integer without a cast
./test/Broken-skip/T1-CurryUnboxed/Main.ddc.c:42: warning: passing argument 2 of ‘_apply1’ makes pointer from integer without a cast
./test/Broken-skip/T1-CurryUnboxed/Main.ddc.c:42: warning: assignment makes integer from pointer without a cast
d