[LLVMbugs] [Bug 9003] Invalid code involving decltype causes assertion

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 7 18:11:39 PST 2011


Douglas Gregor <dgregor at apple.com> changed:

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

--- Comment #3 from Douglas Gregor <dgregor at apple.com> 2011-03-07 20:11:38 CST ---
We now get a nice diagnostic for this:

t2.cpp:2:10: error: base of member reference is a function; perhaps you meant
      call it?
decltype(in<int>.g) i;

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