Strange code that compiles with g++
According to the C++ Standard (p. #6 of section 7 Declarations) 6 Each init-declarator in the init-declarator-list contains exactly one declarator-id, which is the name declared by that init-declarator and hence one of the names declared by the declaration So it is simply a compiler bug. The valid code could look as for example (apart … Read more