opnsense-src/test/CodeGen/typedef.c

9 lines
139 B
C
Raw Normal View History

2010-01-01 05:34:51 -05:00
// RUN: %clang_cc1 -emit-llvm %s -o -
2009-06-02 13:58:47 -04:00
typedef struct { int i; } Value;
typedef Value *PValue;
int get_value(PValue v) {
return v->i;
}