Print this page
11972 resync smatch
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/tools/smatch/src/validation/constexpr-labelref.c
+++ new/usr/src/tools/smatch/src/validation/constexpr-labelref.c
1 1 static void a(void)
2 2 {
3 3 label1:
4 4 ;
5 5 static void *b = &&label1;
6 6 }
7 7
8 8 /*
9 - * check-name: label reference constness verification.
9 + * check-name: constexprness label reference
10 10 * check-command: sparse -Wconstexpr-not-const $file
11 11 *
12 12 * check-error-start
13 13 * check-error-end
14 14 */
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX