new smatch
1 static char *a = "foobar"; // OK
2
3 /*
4 * check-name: string literal constness verification.
5 * check-command: sparse -Wconstexpr-not-const $file
6 *
7 * check-error-start
8 * check-error-end
9 */
|
1 static char *a = "foobar"; // OK
2
3 /*
4 * check-name: constness of string literal
5 * check-command: sparse -Wconstexpr-not-const $file
6 *
7 * check-error-start
8 * check-error-end
9 */
|