expressions: make assign_expression() take an op argument
[smatch.git] / validation / typedef_shadow.c
blobe52de80f27a02cf25d7688af425c73e7fbe3a829
1 typedef int T;
2 static void f(int T)
4 static T a;
6 /*
7 * check-name: typedef shadowing
8 * check-error-start:
9 typedef_shadow.c:4:16: warning: 'T' has implicit type
10 typedef_shadow.c:4:18: error: Expected ; at end of declaration
11 typedef_shadow.c:4:18: error: got a
12 * check-error-end: