1  
       2  extern int __attribute__((weak)) decl;  /* { dg-error "weak declarations" } */
       3  int __attribute__((weak)) defn;
       4  
       5  int Foo ()
       6  {
       7    return decl + defn;
       8  }
       9  
       1  
       2  extern int __attribute__((weak)) decl;  /* { dg-error "weak declarations" } */
       3  int __attribute__((weak)) defn;
       4  
       5  int Foo ()
       6  {
       7    return decl + defn;
       8  }
       9