Signed-off-by: hmz007 <hmz007@gmail.com> Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
11 lines
158 B
C
11 lines
158 B
C
static struct foo variants[] = {
|
|
#ifdef FOO
|
|
{.bar = 11},
|
|
#endif
|
|
{.bar = 10},
|
|
};
|
|
|
|
static struct tst_test test = {
|
|
.test_variants = ARRAY_SIZE(variants),
|
|
};
|