llvm-for-llvmta/tools/clang/test/Sema/vfprintf-invalid-redecl.c

7 lines
274 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 %s -fsyntax-only -verify
// PR4290
// The following declaration is not compatible with vfprintf(), but make
// sure this isn't an error: autoconf expects this to build.
char vfprintf(); // expected-warning {{declaration of built-in function 'vfprintf'}}