minix/external/bsd/llvm/dist/clang/test/CodeGen/OpaqueStruct.c

13 lines
118 B
C
Raw Normal View History

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