blob: ba307f4d19398f4eb85978b29aae584cccf39f39 [file] [log] [blame]
Chris Lattneraa7d2992009-01-27 18:56:08 +00001// RUN: clang %s -emit-llvm -o -
Lauro Ramos Venancioc322e172008-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}