Fix the clang-wpa example.
[clang.git] / test / CodeGen / opaque-pointer.c
blobd658db111d3a1f69e1cdc5e09af4bd3b9300c585
1 // RUN: %clang_cc1 %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;