1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -emit-llvm -o -
2*f4a2713aSLionel Sambuc struct test;
3*f4a2713aSLionel Sambuc 
4*f4a2713aSLionel Sambuc typedef void (*my_func) (struct test *);
5*f4a2713aSLionel Sambuc my_func handler;
6*f4a2713aSLionel Sambuc 
7*f4a2713aSLionel Sambuc struct test {
8*f4a2713aSLionel Sambuc   char a;
9*f4a2713aSLionel Sambuc };
10*f4a2713aSLionel Sambuc 
f(struct test * t)11*f4a2713aSLionel Sambuc char f(struct test *t) {
12*f4a2713aSLionel Sambuc   return t->a;
13*f4a2713aSLionel Sambuc }
14