freebsd-dev/test/CodeGen/typedef.c
2010-01-01 10:34:51 +00:00

9 lines
139 B
C

// RUN: %clang_cc1 -emit-llvm %s -o -
typedef struct { int i; } Value;
typedef Value *PValue;
int get_value(PValue v) {
return v->i;
}