blob: d90d4a443be75a87e7a4c796b473656d1258e456 [file] [log] [blame]
#include <cerrno>
#include <cstddef>
#include <cstdio>
#include <sstream>
int main(void)
{
const char* inputTest = "0";
double f = 6;
std::istringstream ss(inputTest);
printf ("Doing the read\n");
ss >> f; //Crash in 4.7, fine in 4.6
printf ("Here it is %f\n", f);
}