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

extern void link_error (void);

void test0 (int a, int b)
{
  if ((a < b) != (b > a))
    link_error ();
}

int main()
{
  test0 (1, 2);
  return 0;
}