You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
181 B
14 lines
181 B
7 months ago
|
// RUN: %clang_cc1 %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;
|
||
|
}
|