3 // Test that A's copy assignment method is called when B's instance
4 // member array of A is assigned.
6 // Contributed by Brian Gaeke, public domain.
13 A &operator =(const A &i)
25 int main (int argc, char **argv)
30 a = b; // trigger copy assignment