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

--- Comment #9 from Uenal Mutlu <temp78593 at mutluit dot com> 2012-09-13 
12:44:44 UTC ---
Created attachment 28188
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28188
Testcase for Bug "error: invalid initialization of non-const reference of type
‘std::istream&"

Mysterious compiler error in line 35 of the attached testcase (test1.cpp);
marked there as "BUG":

test1.cpp:35:45: error: invalid initialization of non-const reference of type
‘std::istream& {aka std::basic_istream<char>&}’ from an rvalue of type ‘void*’

Reply via email to