freebsd-dev/test/CodeGen/typedef.c
2009-06-02 17:58:47 +00:00

9 lines
137 B
C

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