Print this page
new smatch
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/tools/smatch/src/validation/typedef_shadow.c
+++ new/usr/src/tools/smatch/src/validation/typedef_shadow.c
1 1 typedef int T;
2 2 static void f(int T)
3 3 {
4 4 static T a;
5 5 }
6 6 /*
7 7 * check-name: typedef shadowing
8 - * check-error-start:
8 + * check-error-start
9 9 typedef_shadow.c:4:16: warning: 'T' has implicit type
10 10 typedef_shadow.c:4:18: error: Expected ; at end of declaration
11 11 typedef_shadow.c:4:18: error: got a
12 - * check-error-end:
12 + * check-error-end
13 13 */
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX