Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#103 closed defect (fixed)

typeof allows duplicate variables

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

Description

struct S { int i, j; };

int main() {
    S s;
    typeof((S){10,10}) s;
    s;
}

Change History (2)

comment:1 Changed 3 years ago by Rob Schluntz <rschlunt@…>

Resolution: fixed
Status: assignedclosed

In 51fcdbc7:

Remove lvalue qualifier from objects of typeof type after resolving [fixes #103]

comment:2 Changed 3 years ago by Rob Schluntz <rschlunt@…>

In 51fcdbc7:

Remove lvalue qualifier from objects of typeof type after resolving [fixes #103]

Note: See TracTickets for help on using tickets.