summaryrefslogtreecommitdiff
path: root/clang/test/Sema/memset-invalid.c
blob: c763858e26ec62b5fcb12dccb31885e34092e2af (about) (plain)
1
2
3
4
5
6
// 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();
}