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

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

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