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