Opened 8 years ago
Closed 8 years ago
#65 closed defect (fixed)
Member expression qualifiers are wrong
| Reported by: | Rob Schluntz | Owned by: | Rob Schluntz |
|---|---|---|---|
| Priority: | major | Component: | cfa-cc |
| Version: | 1.0 | Keywords: | |
| Cc: |
Description
This compiles, but shouldn't:
struct S {
int x;
};
int main() {
const S s;
s.x = 0;
}
s.x currently has type int, but should be const int.
Note:
See TracTickets
for help on using tickets.
In 487845d: