* src/pic/glue.h: added pic14aopLiteral prototype
[fw/sdcc] / support / regression / tests / addsub.c
index 641f70987ab9c209934f277fa11d85a5d143bd1a..3fb3dc1afcf682451a4220a88e0d70ccafa70f54 100644 (file)
@@ -67,4 +67,7 @@ testSub(void)
   
   result = left-right;
   ASSERT(result == (-39+20));
+
+  result = left-(signed)0x1200;
+  ASSERT(result == ({type})(-39-(signed)0x1200));
 }