http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53984
--- Comment #1 from Pete Chapman <gccbz.10.petechap at spamgourmet dot com>
2012-07-16 17:00:10 UTC ---
Even simpler:
-------------------
#include <fstream>
int main()
{
std::ifstream in(".");
int x;
if (in)
in >> x;
}
-------------------
