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

b* x;

struct a {
  b* p;
};

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