1*f4a2713aSLionel Sambuc /* RUN: %clang_cc1 %s -emit-llvm -o - | grep zeroinitializer | count 1 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc The FE must not generate padding here between array elements. PR 2533. */ 4*f4a2713aSLionel Sambuc 5*f4a2713aSLionel Sambuc typedef struct { 6*f4a2713aSLionel Sambuc const char *name; 7*f4a2713aSLionel Sambuc int flags; 8*f4a2713aSLionel Sambuc union { 9*f4a2713aSLionel Sambuc int x; 10*f4a2713aSLionel Sambuc } u; 11*f4a2713aSLionel Sambuc } OptionDef; 12*f4a2713aSLionel Sambuc 13*f4a2713aSLionel Sambuc const OptionDef options[] = { 14*f4a2713aSLionel Sambuc /* main options */ 15*f4a2713aSLionel Sambuc { "a", 0, {3} }, 16*f4a2713aSLionel Sambuc { "b", 0, {4} }, 17*f4a2713aSLionel Sambuc { 0, }, 18*f4a2713aSLionel Sambuc }; 19