struct foo { int a; int b; }; const foo f = { .a = 10, .b = 11 }; Should not be work. It cause error in gcc. But compiled without warnings in clang++ 2.8 -- http://mdf-i.blogspot.com Andrey Valyaev