blob: 31c27f49144fe653dade20378f77ed333e350093 [file] [log] [blame]
Daniel Dunbar2d6ca8d2008-08-21 02:51:29 +00001// RUN: clang %s -emit-llvm -o %t
Lauro Ramos Venancio8df106e2008-01-30 21:21:08 +00002struct test;
3
4typedef void (*my_func) (struct test *);
5my_func handler;
6
7struct test {
8 char a;
9};
10
11char f(struct test *t) {
12 return t->a;
13}