summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr47150.c
blob: 559ddd70fdfc214336f5ac9acae17b6ebc09d8f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR c/47150 */

float _Complex foo (float, float);

void
bar ()
{
  float w = 2;
  float _Complex b;
  b = 0.5 * (foo (0, w) + foo (1, w) / w);
}