1  /* { dg-additional-options "-Wno-builtin-declaration-mismatch" } */
       2  
       3  extern void *malloc (unsigned int);
       4  extern void *alloca (unsigned int);
       5  extern void unknown_fn (void *);
       6  
       7  void *
       8  test_malloc (void)
       9  {
      10    return malloc (sizeof (int));
      11  }
      12  
      13  void *
      14  test_alloca (void)
      15  {
      16    void *p = alloca (sizeof (int));
      17    unknown_fn (p);
      18  }