llvm-for-llvmta/tools/clang/test/CodeGen/opaque-pointer.c
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

14 lines
181 B
C

// RUN: %clang_cc1 %s -emit-llvm -o -
struct test;
typedef void (*my_func) (struct test *);
my_func handler;
struct test {
char a;
};
char f(struct test *t) {
return t->a;
}