summaryrefslogtreecommitdiff
path: root/support/regression/tests/patch-235.c
blob: e4384f59dffa7548c4c7a76295bc13804d4623b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
   patch-235.c - used shift insetad of rotate instruction.
 */

#include <testfwk.h>

unsigned long sss(unsigned long a)
{
	return a >> 9;
}

void testBug(void)
{
	ASSERT(sss(0x55555555) == 0x002aaaaa);
}