freebsd-dev/test/CodeGen/opaque-pointer.c
2009-06-02 17:58:47 +00:00

14 lines
179 B
C

// RUN: clang-cc %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;
}