Opened 8 years ago
Closed 8 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;
}
Note:
See TracTickets
for help on using tickets.
In 18ca28e: