1 /* Test for multiple declarations and composite types, with built-in
3 /* Origin: Joseph Myers <jsm@polyomino.org.uk> */
4 /* { dg-do compile } */
5 /* { dg-options "-std=c89 -Wformat -g" } */
13 int printf (const char *, ...);
15 /* Should get format warnings even though the built-in declaration
17 printf ("%s", 1); /* { dg-warning "format" } */
18 /* The type of strcmp here should have no prototype. */
21 /* Likewise, implicitly declared memcmp. */
27 /* Should still diagnose incompatible prototype for strcmp. */
28 int strcmp (void); /* { dg-error "conflict" } */