mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
19 lines
343 B
C
19 lines
343 B
C
|
/* 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, },
|
||
|
};
|