Ignore casts. foo((int *)&bar) is the same as foo(&bar) to this script.
[smatch.git] / validation / badtype2.c
blobaad725dfb5e30d7934533a996a901ddf41c111c3
1 //typedef int undef;
2 extern undef bar(void);
3 static undef foo(char *c)
5 char p = *c;
6 switch (p) {
7 default:
8 return bar();