Opened 7 years ago

Closed 7 years ago

#49 closed defect (fixed)

Tuple construction generates the wrong code for references

Reported by: Rob Schluntz Owned by: Rob Schluntz
Priority: major Component: cfa-cc
Version: 1.0 Keywords:
Cc:

Description

int main() {
  int i;
  int & ref = i;
  [int &, int] x;
  ?{}( x, [ref, 5] );  // GCC warning: assignment makes pointer from integer without a cast
}

Change History (1)

comment:1 Changed 7 years ago by Rob Schluntz

Resolution: fixed
Status: assignedclosed

Fixed as of 9058414

Note: See TracTickets for help on using tickets.