Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc / support / regression / tests / bug-1376320.c
blob5f92127bd9412bdbeec61da44967d63838a98ce8
1 /* bug-1376320.c
3 copy signedness while replacing operands
4 */
5 #include <testfwk.h>
7 static void
8 testSign(void)
10 signed long l;
12 l = 3;
13 l -= 5ul;
14 ASSERT(l < 0);