[LLVMbugs] [Bug 7907] clang c++ crash instantiating value initialization of reference

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 4 14:47:18 PST 2011


Douglas Gregor <dgregor at apple.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Douglas Gregor <dgregor at apple.com> 2011-03-04 16:47:17 CST ---
Already fixed on ToT. We now get, e.g.,

t2.cpp:2:9: error: reference to type 'int' requires an initializer
  T a = T();
t2.cpp:4:15: note: in instantiation of function template specialization
      'f<int &>' requested here
template int& f<int&>();

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list