xref: /aosp_15_r20/external/clang/test/Sema/vfprintf-invalid-redecl.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 %s -fsyntax-only -verify
2 // PR4290
3 
4 // The following declaration is not compatible with vfprintf(), but make
5 // sure this isn't an error: autoconf expects this to build.
6 char vfprintf(); // expected-warning {{incompatible redeclaration of library function 'vfprintf'}} expected-note {{'vfprintf' is a builtin}}
7