blob: d9a1eb5aa85eb8efb9eab9bfbd6404a16e29b2d6 [file] [log] [blame]
/* { 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;
}