1// The default assignment operator for B uses array assignment, so we can't
2// just disallow it...
3
4struct A { A& operator=(const A&); };
5struct B { A f[20]; };
6
7int a1[20], a2[20];
8B b1, b2;
9
10void
11test ()
12{
13  b1 = b2;	      /* OK */
14  a1 = a2;	      /* ERROR - array assignment */
15}
16