summaryrefslogtreecommitdiff
path: root/support/regression/tests/bug-524685.c
blob: bfff635ac00455123989fe19906732161fccf70d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/* Division by powers of two.
 */
#include <testfwk.h>

void
testDivPow2(void)
{
  volatile int left;

  left = -18;
  ASSERT(left/4 == (-18/4));
}