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

13 lines
118 B
C

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