summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/920413-1.c
blob: 6e8fff7eb0b95d855485e5431f8ced4384b2a31b (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-Wtraditional" } */

int
x (b)
{
  return
  4294967295U   /* { dg-warning "width of integer|traditional C rejects" } */
   / (unsigned long) b;
}