(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
powerpc/
pr48192.c
       1  /* { dg-do compile } */
       2  /* { dg-skip-if "" { powerpc*-*-darwin* } } */
       3  /* { dg-require-effective-target powerpc_vsx_ok } */
       4  /* { dg-options "-O3 -mdejagnu-cpu=power7 -std=gnu89" } */
       5  
       6  /* Make sure that the conditional macros vector, bool, and pixel are not
       7     considered as being defined.  */
       8  
       9  #ifdef bool
      10  #error "bool is considered defined"
      11  #endif
      12  
      13  #ifdef vector
      14  #error "vector is considered defined"
      15  #endif
      16  
      17  #ifdef pixel
      18  #error "pixel is condsidered defined"
      19  #endif
      20  
      21  #if defined(bool)
      22  #error "bool is considered defined"
      23  #endif
      24  
      25  #if defined(vector)
      26  #error "vector is considered defined"
      27  #endif
      28  
      29  #if defined(pixel)
      30  #error "pixel is condsidered defined"
      31  #endif
      32  
      33  #ifndef bool
      34  #else
      35  #error "bool is considered defined"
      36  #endif
      37  
      38  #ifndef vector
      39  #else
      40  #error "vector is considered defined"
      41  #endif
      42  
      43  #ifndef pixel
      44  #else
      45  #error "pixel is condsidered defined"
      46  #endif
      47  
      48  #define bool long double
      49  bool pixel = 0;