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

7 lines
224 B
C

// RUN: %clang_cc1 -fsyntax-only %s -verify
char memset(); // expected-warning {{incompatible redeclaration of library function 'memset'}} expected-note{{'memset' is a builtin with type}}
char test() {
return memset();
}