Lines Matching refs:a3

50     A3 a3;  in test()  local
53 assert(dynamic_cast<A1*>(a3.getA3()) == 0); in test()
56 assert(dynamic_cast<A2*>(a3.getA3()) == 0); in test()
59 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
104 A3 a3; in test() local
107 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
108 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
112 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
113 assert(dynamic_cast<A2*>(a3.getA3()) == 0); in test()
117 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
118 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
155 A3 a3; in test() local
158 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
159 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
163 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
164 assert(dynamic_cast<A2*>(a3.getA3()) == 0); in test()
168 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
169 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
207 A3 a3; in test() local
210 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
214 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
215 assert(dynamic_cast<A2*>(a3.getA3()) == 0); in test()
219 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
220 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
258 A3 a3; in test() local
261 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
265 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
266 assert(dynamic_cast<A2*>(a3.getA3()) == 0); in test()
270 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
271 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
319 A3 a3; in test() local
322 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
323 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
324 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
328 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
329 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
330 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
334 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
335 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
336 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
376 A3 a3; in test() local
379 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
380 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
381 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
385 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
386 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
387 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
391 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
392 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
393 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
433 A3 a3; in test() local
436 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
437 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
441 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
442 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
443 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
447 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
448 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
449 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
489 A3 a3; in test() local
492 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
493 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
497 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
498 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
499 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
503 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
504 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
505 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
545 A3 a3; in test() local
548 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
549 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
550 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
554 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
555 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
556 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
560 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
561 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
562 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
602 A3 a3; in test() local
605 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
606 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
610 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
611 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
612 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
616 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
617 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
618 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
658 A3 a3; in test() local
661 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
662 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
666 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
667 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
668 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
672 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
673 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
674 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
714 A3 a3; in test() local
717 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
718 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
722 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
723 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
727 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
728 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
729 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
769 A3 a3; in test() local
772 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
773 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
777 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
778 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
782 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
783 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
784 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
824 A3 a3; in test() local
827 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
828 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
832 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
833 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
837 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
838 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
839 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
890 A3 a3; in test() local
894 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
895 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
896 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
901 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
902 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
903 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
908 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
909 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
910 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
951 A3 a3; in test() local
955 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
956 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
957 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
962 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
963 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
964 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
969 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
970 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
971 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1011 A3 a3; in test() local
1014 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1019 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
1020 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1021 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1026 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
1027 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1028 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1068 A3 a3; in test() local
1071 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1076 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
1077 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1078 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1083 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
1084 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1085 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1126 A3 a3; in test() local
1130 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1131 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
1132 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
1137 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
1138 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1139 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1144 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
1145 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1146 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1186 A3 a3; in test() local
1189 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1194 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
1195 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1196 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1201 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
1202 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1203 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1243 A3 a3; in test() local
1246 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1251 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
1252 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1253 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1258 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
1259 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1260 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1301 A3 a3; in test() local
1304 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1309 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
1310 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1315 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
1316 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
1317 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1358 A3 a3; in test() local
1361 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1366 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
1367 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1372 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
1373 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
1374 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1415 A3 a3; in test() local
1418 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1423 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
1424 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1429 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
1430 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
1431 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1483 A3 a3; in test() local
1487 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1488 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA12()); in test()
1493 assert(dynamic_cast<A2*>(a3.getA12()) == a3.getA2()); in test()
1494 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1495 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1500 assert(dynamic_cast<A3*>(a3.getA12()) == a3.getA3()); in test()
1501 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1502 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1544 A3 a3; in test() local
1547 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1552 assert(dynamic_cast<A2*>(a3.getA12()) == 0); in test()
1553 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1554 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1559 assert(dynamic_cast<A3*>(a3.getA12()) == 0); in test()
1560 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1561 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1603 A3 a3; in test() local
1607 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA12()); in test()
1612 assert(dynamic_cast<A2*>(a3.getA12()) == a3.getA2()); in test()
1613 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1614 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1619 assert(dynamic_cast<A3*>(a3.getA12()) == a3.getA3()); in test()
1620 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1621 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1663 A3 a3; in test() local
1667 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA12()); in test()
1672 assert(dynamic_cast<A2*>(a3.getA12()) == a3.getA2()); in test()
1673 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1678 assert(dynamic_cast<A3*>(a3.getA12()) == 0); in test()
1679 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
1680 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1722 A3 a3; in test() local
1726 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1727 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA12()); in test()
1732 assert(dynamic_cast<A2*>(a3.getA12()) == a3.getA2()); in test()
1733 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1738 assert(dynamic_cast<A3*>(a3.getA12()) == 0); in test()
1739 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
1740 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1782 A3 a3; in test() local
1785 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1790 assert(dynamic_cast<A2*>(a3.getA12()) == 0); in test()
1791 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1796 assert(dynamic_cast<A3*>(a3.getA12()) == 0); in test()
1797 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
1798 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1840 A3 a3; in test() local
1843 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1848 assert(dynamic_cast<A2*>(a3.getA12()) == 0); in test()
1849 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1854 assert(dynamic_cast<A3*>(a3.getA12()) == 0); in test()
1855 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1856 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1898 A3 a3; in test() local
1901 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1906 assert(dynamic_cast<A2*>(a3.getA12()) == 0); in test()
1907 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1912 assert(dynamic_cast<A3*>(a3.getA12()) == 0); in test()
1913 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
1914 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
1966 A3 a3; in test() local
1970 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1971 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
1972 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
1977 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
1978 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
1979 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
1984 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
1985 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
1986 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
2028 A3 a3; in test() local
2031 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2032 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
2037 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
2038 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
2039 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
2044 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
2045 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
2046 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
2088 A3 a3; in test() local
2092 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2093 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
2094 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
2099 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
2100 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
2101 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
2106 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
2107 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
2108 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
2150 A3 a3; in test() local
2154 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2155 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
2156 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
2161 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
2162 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
2167 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
2168 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
2169 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
2211 A3 a3; in test() local
2215 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2216 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
2221 assert(dynamic_cast<A2*>(a3.getA1()) == a3.getA2()); in test()
2222 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
2227 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
2228 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
2229 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
2271 A3 a3; in test() local
2274 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2275 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
2280 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
2281 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
2286 assert(dynamic_cast<A3*>(a3.getA1()) == a3.getA3()); in test()
2287 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
2288 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
2330 A3 a3; in test() local
2333 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2338 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
2339 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
2340 assert(dynamic_cast<A2*>(a3.getA3()) == a3.getA2()); in test()
2345 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
2346 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test()
2347 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()
2389 A3 a3; in test() local
2392 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2397 assert(dynamic_cast<A2*>(a3.getA1()) == 0); in test()
2398 assert(dynamic_cast<A2*>(a3.getA2()) == a3.getA2()); in test()
2403 assert(dynamic_cast<A3*>(a3.getA1()) == 0); in test()
2404 assert(dynamic_cast<A3*>(a3.getA2()) == 0); in test()
2405 assert(dynamic_cast<A3*>(a3.getA3()) == a3.getA3()); in test()