X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftcon%2Ftest%2Fcompile_fail-container3.c;h=dfdfdba9a3412ef692311762b9cdfdd54d01c4e5;hb=e62e48b9d841dd7bac1955df177c2089eb4719b7;hp=9185225a9361903e25e86ce616e31da0e502e577;hpb=374a0b73cc507b3121cf40cab77dc0d3eab794a9;p=ccan diff --git a/ccan/tcon/test/compile_fail-container3.c b/ccan/tcon/test/compile_fail-container3.c index 9185225a..dfdfdba9 100644 --- a/ccan/tcon/test/compile_fail-container3.c +++ b/ccan/tcon/test/compile_fail-container3.c @@ -25,7 +25,7 @@ struct info_tcon { int main(void) { struct info_tcon info; - struct outer ovar; + struct outer ovar = { 0, { 0 } }; #ifdef FAIL #if !HAVE_TYPEOF #error We cannot detect type problems without HAVE_TYPEOF