aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/OpaqueStruct.c
blob: ecf81fa83075992894c1cd6ee8488b215361d1f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: clang %s -emit-llvm
typedef struct a b;

b* x;

struct a {
  b* p;
};

void f() {
  b* z = x->p;
}