aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr84834.c
blob: 38c056bb4ca52c2b366948e51c0e41fb2082aa22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR middle-end/84834 */
/* { dg-do compile } */
/* { dg-options "-O2" } */

_Complex int
foo (int a)
{
  return a < 0;
}

_Complex int
bar (int a)
{
  return (a & 8) ? (_Complex int) 16 : (_Complex int) 0;
}