Opened 8 years ago
Closed 8 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
}
Note:
See TracTickets
for help on using tickets.
Fixed as of 9058414