aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/typedef.c
blob: 291f0c89dba5aa13f55aedb896f07d859dfa58ed (plain)
1
2
3
4
5
6
7
8
// RUN: clang -emit-llvm %s

typedef struct { int i; } Value;
typedef Value *PValue;

int get_value(PValue v) {
  return v->i;
}