// Negative test: a `class CrossStruct array' is not assignment-compatible
// with `class CrossStruct'.  Before Fixes.md the broad structural
// compatibility patch ignored the TYPE_MOD_ARRAY bit and silently accepted
// this assignment.

#include <cross_struct.h>

void do_tests() {
  class CrossStruct *arr = ({ new(class CrossStruct) });
  class CrossStruct one = arr;  // must NOT type-check
}
