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