1 static struct foo variants[] = { 2 #ifdef FOO 3 {.bar = 11}, 4 #endif 5 {.bar = 10}, 6 }; 7 8 static struct tst_test test = { 9 .test_variants = ARRAY_SIZE(variants), 10 }; 11