brintos

brintos / llvm-project-archived public Read only

0
0
Text · 404 B · 065f988 Raw
26 lines · c
1// RUN: %clang_cc1 %s -emit-llvm -o -2 3  typedef struct A *Foo;4#pragma pack(push, 2)5  struct Bar {6    Foo             f1;7    unsigned short  f2;8    float           f3;9  };10  struct Baz {11    struct Bar   f1;12    struct Bar   f2;13  };14  struct Qux {15    unsigned long   f1;16    struct Baz             f2;17  };18extern const struct Qux Bork;19const struct Qux Bork = {20  0,21  {22    {0},23    {0}24  }25};26