Opened 7 years ago

Closed 7 years ago

#47 closed defect (fixed)

Constructors are not generated when struct has union or enum member

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

Description

enum state_t { WAITFOR, CALL, BARGE };
struct global_t {
  state_t state;
};

void ?{} ( global_t & this ) {}

int main() {
  global_t x;
}

Change History (1)

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

Resolution: fixed
Status: assignedclosed

In 18ca28e:

Refactor autogen for EnumDecl? [fixes #47]

Note: See TracTickets for help on using tickets.