summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr42512.c
blob: f4e5cedbfc9b3f651f528d58ff2c2c90ad689a31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
extern void abort (void);

short g_3;

int main (void)
{
    int l_2;
    for (l_2 = -1; l_2 != 0; l_2 = (unsigned char)(l_2 - 1))
      g_3 |= l_2;
    if (g_3 != -1)
      abort ();
    return 0;
}