summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr17036-1.c
blob: ea2c9caf6f93afe3a7dc50296f638dc0e37cfe7a (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */

int main ()
{
  int R, N = 4;
  unsigned int A = 2;
  signed int B = 2;
  ((B >> N) & 1) ? 1 : 0;
  ((A >> N) & 1) ? 1 : 0;
  return 0;
}