xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/opaque-pointer.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
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 
f(struct test * t)11 char f(struct test *t) {
12   return t->a;
13 }
14