------- Comment #4 from tsyvarev at ispras dot ru  2008-10-31 10:34 -------
Created an attachment (id=16595)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16595&action=view)
Test, modelling example from standard exactly

("For targets true: "1" and false: "0", the input sequence "1" yields val ==
true and err == str.goodbit")

Output the same:

[EMAIL PROTECTED]:/mnt/hgfs/shared/temp/test$ g++ test.cpp && ./a.out
eofbit was set.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37958

Reply via email to