http://llvm.org/bugs/show_bug.cgi?id=12049

Eli Friedman <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |FIXED

--- Comment #2 from Eli Friedman <[email protected]> 2012-02-21 22:58:58 
CST ---
With r151130, we now produce:

<stdin>:9:17: error: expected ')'
      int member;
                ^
<stdin>:7:23: note: to match this '('
      Class() : member(function() {}
                      ^

It's hard to get the error messages right in general for member initializers in
inline functions which don't follow the correct grammar, but this case in
particular is easy enough to get right...

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to