1  /* { dg-require-alias "" } */
       2  /* { dg-require-weak "" } */
       3  /* { dg-xfail-if "weak alias" { powerpc-ibm-aix* } } */
       4  
       5  static int dummy = 0;
       6  extern int foo __attribute__((__weak__, __alias__("dummy")));
       7  typedef char check[2*!__builtin_constant_p(dummy)-1];
       8  typedef char check[2*!__builtin_constant_p(foo)-1];