summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr26763-1.c
blob: 37054e7a4fbe535bc57962a99674c0e33e816af1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do run } */

extern void abort(void);

int try (int *a)
{
  return a + -1 > a;
}

int main(void)
{
  int bla[100];

  if (try (bla + 50))
    abort ();

  return 0;
}