(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.target/
powerpc/
undef-bool-1.C
/* { dg-do compile } */
/* { dg-options "-O2 -DNO_WARN_X86_INTRINSICS -mvsx" } */
/* { dg-require-effective-target lp64 } */
/* { dg-require-effective-target powerpc_vsx_ok } */

/* Test to ensure that "bool" gets undef'd in xmmintrin.h when
   we require strict ANSI.  */

#include <xmmintrin.h>

bool foo (int x)
{
  return x == 2;
}