aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Sema/memset-invalid.c
blob: 3532af835b23c826c08b75e241caf506b0b07244 (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -fsyntax-only %s -verify

char memset(void); // expected-warning {{incompatible redeclaration of library function 'memset'}} expected-note{{'memset' is a builtin with type}}
char test(void) {
  return memset();
}