[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / Wredundant-decls-1.c
blobc38c7b5540f2b936704d8dc5a5a5aac0895866b5
1 /* PR 16684: no redundant declaration warnings should issue the first
2 time a built-in function is declared.
3 { dg-do compile }
4 { dg-options "-Wredundant-decls" } */
6 void *malloc (__SIZE_TYPE__); /* { dg-bogus "redundant" } */
7 void *malloc (__SIZE_TYPE__); /* { dg-warning "redundant" } */