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

b* x;

struct a {
  b* p;
};

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