bolt/deps/llvm-18.1.8/clang/test/CodeGen/opaque-pointer.c

14 lines
181 B
C
Raw Normal View History

2025-02-14 19:21:04 +01:00
// 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;
}