1 // RUN: %clang_analyze_cc1 -analyzer-checker=unix.cstring -analyzer-output=text %s 2>&1 | FileCheck %s
3 // This test verifies argument source range highlighting.
4 // Otherwise we've no idea which of the arguments is null.
5 // These days we actually also have it in the message,
6 // but the range is still great to have.
8 char *strcpy(char *, const char *);
15 // CHECK: warning: Null pointer passed as 1st argument to string copy function
16 // CHECK-NEXT: strcpy(a, b);