[LLVMbugs] [Bug 9236] Poor diagnostic for conditional expression with mismatched types

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 21 18:47:51 PDT 2013


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

Eli Friedman <sharparrow1 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |sharparrow1 at yahoo.com
         Resolution|---                         |WORKSFORME

--- Comment #2 from Eli Friedman <sharparrow1 at yahoo.com> ---
On trunk:

<stdin>:6:13: error: non-pointer operand type 'A' incompatible with NULL
 A* foo = b ? a : NULL;
            ^ ~
1 error generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130822/8a0c44ac/attachment.html>


More information about the llvm-bugs mailing list