Add include needed for MSVC.
[clang/acc.git] / test / CodeGen / opaque-pointer.c
blob7f78b91fb17e231ce8b50c2797503874a2d6918a
1 // RUN: clang-cc %s -emit-llvm -o -
2 struct test;
4 typedef void (*my_func) (struct test *);
5 my_func handler;
7 struct test {
8 char a;
9 };
11 char f(struct test *t) {
12 return t->a;