brintos

brintos / llvm-project-archived public Read only

0
0
Text · 283 B · c8e4fe5 Raw
11 lines · c
1// RUN: %clang_analyze_cc1 -Wno-incompatible-library-redeclaration -analyzer-checker=core,unix.cstring,alpha.unix.cstring -verify %s2 3// expected-no-diagnostics4 5void *strcpy(unsigned char *, unsigned char *);6 7unsigned char a, b;8void testUnsignedStrcpy(void) {9  strcpy(&a, &b);10}11