xref: /aosp_15_r20/external/clang/test/CodeGen/opaque-pointer.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
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