This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Trivial test fails
- To: gcc at gcc dot gnu dot org
- Subject: Trivial test fails
- From: nbecker at fred dot net
- Date: 05 Oct 2000 12:52:50 -0400
I just tried this with the latest CVS with libstdc++-v3.
This program should terminate on reading EOF, but it doesn't:
(Note that with gcc-2.95.2 and libstdc++v2 it would work)
#include <iostream>
using std::cin;
using std::cout;
main () {
while (cin) {
double x;
cin >> x;
cout << x;
}
}