cast: test/compile_fail-cast_static.c should fail without COMPOUND_LITERALS.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 27 Mar 2012 05:10:45 +0000 (15:40 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 27 Mar 2012 05:10:45 +0000 (15:40 +1030)
commit6569a707d169a629e25e10710c760c8dc84525c7
treeaf6d22ef3246e27daf4d6f2a327f25a89d92527d
parent6acab66f8474a45dd37ae6a0f54d088448076ac7
cast: test/compile_fail-cast_static.c should fail without COMPOUND_LITERALS.

It still gave a warning on gcc, because casting a char to a char* gives a warning.  Not so on sun CC.
ccan/cast/test/compile_fail-cast_static.c