blob: 19fb5be7d8fd87ded65f53a972e41ad0ed7db5bc [file] [log] [blame]
/* RUN: %llvmgcc %s -m64 -S -o - -emit-llvm -O0 | grep zeroinitializer | count 1
The FE must not generate padding here between array elements. PR 2533. */
typedef struct {
const char *name;
int flags;
union {
int x;
} u;
} OptionDef;
const OptionDef options[] = {
/* main options */
{ "a", 0, {3} },
{ "b", 0, {4} },
{ 0, },
};