brintos

brintos / llvm-project-archived public Read only

0
0
Text · 181 B · d658db1 Raw
14 lines · c
1// RUN: %clang_cc1 %s -emit-llvm -o -2struct test;3 4typedef void (*my_func) (struct test *);5my_func handler;6 7struct test {8  char a;9};10 11char f(struct test *t) {12  return t->a;13}14