Lines Matching refs:a3

49     A3 a3;  in test()  local
52 assert(dynamic_cast<A1*>(a3.getA3()) == 0); in test()
55 assert(dynamic_cast<A2*>(a3.getA3()) == 0); in test()
58 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
103 A3 a3; in test() local
106 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
107 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
111 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
112 assert(dynamic_cast<A2*>(a3.getA3()) == 0); in test()
116 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
117 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
154 A3 a3; in test() local
157 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
158 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
162 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
163 assert(dynamic_cast<A2*>(a3.getA3()) == 0); in test()
167 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
168 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
206 A3 a3; in test() local
209 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
213 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
214 assert(dynamic_cast<A2*>(a3.getA3()) == 0); in test()
218 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
219 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
257 A3 a3; in test() local
260 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
264 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
265 assert(dynamic_cast<A2*>(a3.getA3()) == 0); in test()
269 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
270 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
318 A3 a3; in test() local
321 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
322 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
323 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
327 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
328 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
329 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
333 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
334 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
335 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
375 A3 a3; in test() local
378 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
379 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
380 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
384 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
385 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
386 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
390 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
391 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
392 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
432 A3 a3; in test() local
435 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
436 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
440 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
441 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
442 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
446 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
447 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
448 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
488 A3 a3; in test() local
491 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
492 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
496 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
497 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
498 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
502 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
503 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
504 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
544 A3 a3; in test() local
547 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
548 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
549 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
553 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
554 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
555 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
559 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
560 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
561 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
601 A3 a3; in test() local
604 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
605 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
609 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
610 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
611 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
615 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
616 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
617 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
657 A3 a3; in test() local
660 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
661 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
665 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
666 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
667 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
671 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
672 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
673 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
713 A3 a3; in test() local
716 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
717 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
721 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
722 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
726 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
727 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
728 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
768 A3 a3; in test() local
771 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
772 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
776 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
777 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
781 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
782 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
783 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
823 A3 a3; in test() local
826 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
827 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
831 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
832 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
836 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
837 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
838 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
889 A3 a3; in test() local
893 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
894 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
895 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
900 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
901 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
902 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
907 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
908 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
909 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
950 A3 a3; in test() local
954 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
955 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
956 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
961 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
962 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
963 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
968 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
969 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
970 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1010 A3 a3; in test() local
1013 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1018 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
1019 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1020 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1025 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
1026 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1027 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1067 A3 a3; in test() local
1070 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1075 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
1076 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1077 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1082 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
1083 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1084 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1125 A3 a3; in test() local
1129 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1130 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
1131 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
1136 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
1137 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1138 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1143 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
1144 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1145 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1185 A3 a3; in test() local
1188 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1193 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
1194 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1195 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1200 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
1201 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1202 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1242 A3 a3; in test() local
1245 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1250 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
1251 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1252 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1257 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
1258 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1259 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1300 A3 a3; in test() local
1303 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1308 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
1309 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1314 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
1315 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
1316 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1357 A3 a3; in test() local
1360 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1365 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
1366 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1371 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
1372 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
1373 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1414 A3 a3; in test() local
1417 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1422 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
1423 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1428 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
1429 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
1430 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1482 A3 a3; in test() local
1486 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1487 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA12()); in test()
1492 assert(dynamic_cast<A2*>(a3.getA12()) == a3.getA2()); in test()
1493 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1494 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1499 assert(dynamic_cast<A3*>(a3.getA12()) == a3.getA3()); in test()
1500 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1501 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1543 A3 a3; in test() local
1546 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1551 assert(dynamic_cast<A2*>(a3.getA12()) == 0); in test()
1552 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1553 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1558 assert(dynamic_cast<A3*>(a3.getA12()) == 0); in test()
1559 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1560 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1602 A3 a3; in test() local
1606 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA12()); in test()
1611 assert(dynamic_cast<A2*>(a3.getA12()) == a3.getA2()); in test()
1612 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1613 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1618 assert(dynamic_cast<A3*>(a3.getA12()) == a3.getA3()); in test()
1619 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1620 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1662 A3 a3; in test() local
1666 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA12()); in test()
1671 assert(dynamic_cast<A2*>(a3.getA12()) == a3.getA2()); in test()
1672 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1677 assert(dynamic_cast<A3*>(a3.getA12()) == 0); in test()
1678 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
1679 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1721 A3 a3; in test() local
1725 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1726 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA12()); in test()
1731 assert(dynamic_cast<A2*>(a3.getA12()) == a3.getA2()); in test()
1732 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1737 assert(dynamic_cast<A3*>(a3.getA12()) == 0); in test()
1738 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
1739 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1781 A3 a3; in test() local
1784 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1789 assert(dynamic_cast<A2*>(a3.getA12()) == 0); in test()
1790 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1795 assert(dynamic_cast<A3*>(a3.getA12()) == 0); in test()
1796 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
1797 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1839 A3 a3; in test() local
1842 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1847 assert(dynamic_cast<A2*>(a3.getA12()) == 0); in test()
1848 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1853 assert(dynamic_cast<A3*>(a3.getA12()) == 0); in test()
1854 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1855 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1897 A3 a3; in test() local
1900 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1905 assert(dynamic_cast<A2*>(a3.getA12()) == 0); in test()
1906 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1911 assert(dynamic_cast<A3*>(a3.getA12()) == 0); in test()
1912 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
1913 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1965 A3 a3; in test() local
1969 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1970 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
1971 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
1976 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
1977 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1978 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1983 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
1984 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1985 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
2027 A3 a3; in test() local
2030 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2031 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
2036 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
2037 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
2038 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
2043 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
2044 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
2045 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
2087 A3 a3; in test() local
2091 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2092 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
2093 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
2098 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
2099 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
2100 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
2105 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
2106 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
2107 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
2149 A3 a3; in test() local
2153 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2154 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
2155 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
2160 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
2161 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
2166 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
2167 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
2168 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
2210 A3 a3; in test() local
2214 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2215 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
2220 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
2221 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
2226 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
2227 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
2228 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
2270 A3 a3; in test() local
2273 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2274 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
2279 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
2280 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
2285 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
2286 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
2287 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
2329 A3 a3; in test() local
2332 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2337 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
2338 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
2339 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
2344 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
2345 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
2346 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
2388 A3 a3; in test() local
2391 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2396 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
2397 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
2402 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
2403 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
2404 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()