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

13 lines
107 B
C

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