summaryrefslogtreecommitdiff
path: root/support/regression/tests/bug-1376320.c
blob: 5f92127bd9412bdbeec61da44967d63838a98ce8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* bug-1376320.c

   copy signedness while replacing operands
 */
#include <testfwk.h>

static void
testSign(void)
{
  signed long l;

  l = 3;
  l -= 5ul;
  ASSERT(l < 0);
}