1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-12 07:07:19 +00:00
cc65/test/val/bug367.c
2019-04-02 16:34:22 +02:00

13 lines
232 B
C

#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