Release coccinelle-0.1
[bpt/coccinelle.git] / tests / typedef.c
1 typedef struct bluecard_info_t {
2 dev_link_t link;
3 } foo;
4
5 static void should_work(u_long arg)
6 {
7 foo *info = (struct bluecard_info_t *)arg;
8 unsigned int iobase = info->link.io.BasePort1;
9 }
10
11 static void does_work(u_long arg)
12 {
13 struct bluecard_info_t *info = (struct bluecard_info_t *)arg;
14 unsigned int iobase = info->link.io.BasePort1;
15 }