mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 18:51:34 +00:00
14 lines
171 B
C
14 lines
171 B
C
// RUN: clang %s -emit-llvm
|
|
struct test;
|
|
|
|
typedef void (*my_func) (struct test *);
|
|
my_func handler;
|
|
|
|
struct test {
|
|
char a;
|
|
};
|
|
|
|
char f(struct test *t) {
|
|
return t->a;
|
|
}
|