add main, fix warnings not intended
[cparser] / parsetest / should_fail / const.c
1
2 void t(void)
3 {
4         typedef int       Int;
5         typedef const Int CInt;
6         typedef CInt      MyCInt;
7
8         MyCInt k;
9
10         k = 5; /* should fail, assignment to const */
11 }