https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66602
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2015-06-19 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- It works fine for me. You haven't said what it prints for you, or even said which version of GCC you are using so it's impossible to know if this is an ancient bug that was fixed long ago. Please provide the output of 'g++ -v' as requested by https://gcc.gnu.org/bugs/