aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr93069.c
blob: a46fa437aa94f493eabb08a20dc2d80f9f2a7b86 (plain)
1
2
3
4
5
6
7
8
9
10
/* PR target/93069 */
/* { dg-do assemble { target vect_simd_clones } } */
/* { dg-additional-options "-O2 -fopenmp-simd" } */

#pragma omp declare simd
int
foo (int x, int y)
{
  return x == 0 ? x : y;
}