From eced3fafc64f64e813206929421924b590da5f76 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Fri, 25 Nov 2016 03:50:06 +0330 Subject: new tdd tests for 12.8 --- test/testFuncs1.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'test/testFuncs1.c') diff --git a/test/testFuncs1.c b/test/testFuncs1.c index 1bbc24c..0d55730 100644 --- a/test/testFuncs1.c +++ b/test/testFuncs1.c @@ -4,7 +4,7 @@ /*include*/ /**********************************************************************************************************************/ #include "testFuncs1.h" -//#include +#include /**************************************************MACROS & DEFS*******************************************************/ /**********************************************************************************************************************/ @@ -15,6 +15,8 @@ typedef unsigned int ut_int; typedef signed int t_int; typedef unsigned char BYTE; +const unsigned int shift = 10U; + /******************************************************Globals*********************************************************/ /**********************************************************************************************************************/ @@ -912,5 +914,14 @@ void test20(void) f = f << 4U; } +void test21(void) +{ + unsigned int a; + a = a >> 44U; + a = a >> shift; + a <<= 10U; + a << 45U; +} + /**********************************************************************************************************************/ /*the last line's been intentionally left blank.*/ -- cgit v1.2.3