xref: /illumos-gate/usr/src/tools/smatch/src/validation/multi_typedef.c (revision 856f710c9dc323b39da5935194d7928ffb99b67f)
1 typedef int T, *P;
2 static void f(void)
3 {
4 	unsigned P = 0;
5 	unsigned x = P;
6 }
7 static void g(void)
8 {
9 	int P = 0;
10 	int x = P;
11 }
12 /*
13  * check-name: typedefs with many declarators
14  * check-description: we didn't recognize P above as a typedef
15  */
16