minix/external/bsd/llvm/dist/clang/test/Sema/memset-invalid.c

7 lines
224 B
C
Raw Normal View History

// 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();
}