llvm-project/clang/test/CodeGen/OpaqueStruct.c

13 lines
116 B
C

// RUN: clang-cc %s -emit-llvm -o %t
typedef struct a b;
b* x;
struct a {
b* p;
};
void f() {
b* z = x->p;
}