(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr35334.c
       1  /* PR c++/35334 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-std=gnu99" } */
       4  /* { dg-bogus "not supported by" "" { target *-*-* } 0 } */
       5  
       6  __complex__ unsigned int i;
       7  int j;
       8  char k;
       9  __complex__ double l;
      10  double m;
      11  float n;
      12  
      13  void
      14  foo ()
      15  {
      16    ((__complex__ int)i)();		/* { dg-error "is not a function" } */
      17    ((__complex__ int)j)();		/* { dg-error "is not a function" } */
      18    ((__complex__ int)k)();		/* { dg-error "is not a function" } */
      19    ((__complex__ long double)l)();	/* { dg-error "is not a function" } */
      20    ((__complex__ long double)m)();	/* { dg-error "is not a function" } */
      21    ((__complex__ long double)n)();	/* { dg-error "is not a function" } */
      22  }