You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
// RUN: %clang_analyze_cc1 -Wno-incompatible-library-redeclaration -analyzer-checker=core,unix.cstring,alpha.unix.cstring -verify %s
|
|
|
|
// expected-no-diagnostics
|
|
|
|
void *strcpy(unsigned char *, unsigned char *);
|
|
|
|
unsigned char a, b;
|
|
void testUnsignedStrcpy() {
|
|
strcpy(&a, &b);
|
|
}
|