1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00
cc65/test/val/bug367.c

13 lines
232 B
C
Raw Normal View History

#include "unittest.h"
TEST
{
unsigned int y=192;
unsigned int d=y&0xFFF8;
unsigned int e=d*32+d*8;
unsigned int f=d*40;
ASSERT_AreEqual(f, e, "%u", "Multiplication results differ (should be 7680)!");
}
ENDTEST