Opened 7 years ago
Closed 5 years ago
#26 closed defect (fixed)
Implicit conversion from zero_t do not work.
Reported by: | pabuhr | Owned by: | |
---|---|---|---|
Priority: | major | Component: | cfa-cc |
Version: | 1.0 | Keywords: | |
Cc: |
Description (last modified by )
struct foo; void ?{}( foo *&, zero_t z ) {} int fred() { foo * h; if (h) {} }
should convert to:
if (h != ?{}(temp, 0), temp ) { ... }
Instead converts to:
if ( ((int )(__h__P4sfoo_2!=((struct foo *)0))) ) {}
Change History (2)
comment:1 Changed 5 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 5 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.