aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr104427.c
blob: 397cb13b669699aa75c4f0f4e5c780bbfeb21313 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR c/104427 */
/* { dg-do compile } */
/* { dg-options "" } */
/* { dg-add-options float16 } */
/* { dg-require-effective-target float16 } */

_Float16 x, y;

int
foo ()
{
  return __builtin_assoc_barrier (x + y) - y;
}