blob: 5c31e40cb9d4ccfdfaa0a382e614a378564588b7 [file] [log] [blame]
typedef int plain[7];
typedef const plain monster;
struct A {
monster q;
};
void fun(struct A * a) {
(void) a;
// assignment to read-only location
// a->q[0] = 0;
}