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