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

#include <testfwk.h>

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

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