Lines Matching refs:A1

21 struct A1  struct
24 virtual ~A1() {} in ~A1() argument
26 A1* getA1() {return this;} in getA1() argument
47 A1 a1; in test()
50 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
51 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
52 assert(dynamic_cast<A1*>(a3.getA3()) == 0); in test()
74 struct A1 struct
77 virtual ~A1() {} in ~A1() argument
79 A1* getA1() {return this;} in getA1() argument
91 : public A1
101 A1 a1; in test()
104 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
105 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
106 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
107 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
125 struct A1 struct
128 virtual ~A1() {} in ~A1() argument
130 A1* getA1() {return this;} in getA1() argument
142 : public virtual A1
152 A1 a1; in test()
155 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
156 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
157 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
158 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
176 struct A1 struct
179 virtual ~A1() {} in ~A1() argument
181 A1* getA1() {return this;} in getA1() argument
193 : private A1
198 A1* getA1() {return this;} in getA1()
204 A1 a1; in test()
207 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
208 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
209 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
227 struct A1 struct
230 virtual ~A1() {} in ~A1() argument
232 A1* getA1() {return this;} in getA1() argument
244 : private virtual A1
249 A1* getA1() {return this;} in getA1()
255 A1 a1; in test()
258 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
259 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
260 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
286 struct A1 struct
289 virtual ~A1() {} in ~A1() argument
291 A1* getA1() {return this;} in getA1() argument
303 : public A1,
309 A1* getA1() {return this;} in getA1()
316 A1 a1; in test()
319 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
320 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
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()
343 struct A1 struct
346 virtual ~A1() {} in ~A1() argument
348 A1* getA1() {return this;} in getA1() argument
360 : public virtual A1,
366 A1* getA1() {return this;} in getA1()
373 A1 a1; in test()
376 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
377 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
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()
400 struct A1 struct
403 virtual ~A1() {} in ~A1() argument
405 A1* getA1() {return this;} in getA1() argument
417 : private A1,
423 A1* getA1() {return this;} in getA1()
430 A1 a1; in test()
433 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
434 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
435 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
436 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
456 struct A1 struct
459 virtual ~A1() {} in ~A1() argument
461 A1* getA1() {return this;} in getA1() argument
473 : private virtual A1,
479 A1* getA1() {return this;} in getA1()
486 A1 a1; in test()
489 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
490 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
491 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
492 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
512 struct A1 struct
515 virtual ~A1() {} in ~A1() argument
517 A1* getA1() {return this;} in getA1() argument
529 : public virtual A1,
535 A1* getA1() {return this;} in getA1()
542 A1 a1; in test()
545 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
546 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
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()
569 struct A1 struct
572 virtual ~A1() {} in ~A1() argument
574 A1* getA1() {return this;} in getA1() argument
586 : private A1,
592 A1* getA1() {return this;} in getA1()
599 A1 a1; in test()
602 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
603 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
604 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
605 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
625 struct A1 struct
628 virtual ~A1() {} in ~A1() argument
630 A1* getA1() {return this;} in getA1() argument
642 : private virtual A1,
648 A1* getA1() {return this;} in getA1()
655 A1 a1; in test()
658 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
659 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
660 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
661 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
681 struct A1 struct
684 virtual ~A1() {} in ~A1() argument
686 A1* getA1() {return this;} in getA1() argument
698 : private A1,
704 A1* getA1() {return this;} in getA1()
711 A1 a1; in test()
714 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
715 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
716 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
717 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
736 struct A1 struct
739 virtual ~A1() {} in ~A1() argument
741 A1* getA1() {return this;} in getA1() argument
753 : private virtual A1,
759 A1* getA1() {return this;} in getA1()
766 A1 a1; in test()
769 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
770 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
771 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
772 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
791 struct A1 struct
794 virtual ~A1() {} in ~A1() argument
796 A1* getA1() {return this;} in getA1() argument
808 : private virtual A1,
814 A1* getA1() {return this;} in getA1()
821 A1 a1; in test()
824 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
825 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
826 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
827 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
856 struct A1 struct
859 virtual ~A1() {} in ~A1() argument
861 A1* getA1() {return this;} in getA1() argument
865 : public A1
870 A1* getA1() {return this;} in getA1()
880 A1* getA1() {return this;} in getA1()
887 A1 a1; in test()
890 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
891 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
892 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
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()
917 struct A1 struct
920 virtual ~A1() {} in ~A1() argument
922 A1* getA1() {return this;} in getA1() argument
926 : public virtual A1
931 A1* getA1() {return this;} in getA1()
941 A1* getA1() {return this;} in getA1()
948 A1 a1; in test()
951 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
952 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
953 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
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()
978 struct A1 struct
981 virtual ~A1() {} in ~A1() argument
983 A1* getA1() {return this;} in getA1() argument
987 : private A1
992 A1* getA1() {return this;} in getA1()
1008 A1 a1; in test()
1011 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1012 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1013 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1035 struct A1 struct
1038 virtual ~A1() {} in ~A1() argument
1040 A1* getA1() {return this;} in getA1() argument
1044 : protected virtual A1
1049 A1* getA1() {return this;} in getA1()
1065 A1 a1; in test()
1068 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1069 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1070 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1092 struct A1 struct
1095 virtual ~A1() {} in ~A1() argument
1097 A1* getA1() {return this;} in getA1() argument
1101 : public virtual A1
1106 A1* getA1() {return this;} in getA1()
1116 A1* getA1() {return this;} in getA1()
1123 A1 a1; in test()
1126 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1127 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1128 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
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()
1153 struct A1 struct
1156 virtual ~A1() {} in ~A1() argument
1158 A1* getA1() {return this;} in getA1() argument
1162 : private A1
1167 A1* getA1() {return this;} in getA1()
1183 A1 a1; in test()
1186 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1187 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1188 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1210 struct A1 struct
1213 virtual ~A1() {} in ~A1() argument
1215 A1* getA1() {return this;} in getA1() argument
1219 : protected virtual A1
1224 A1* getA1() {return this;} in getA1()
1240 A1 a1; in test()
1243 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1244 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1245 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1267 struct A1 struct
1270 virtual ~A1() {} in ~A1()
1272 A1* getA1() {return this;} in getA1()
1276 : private A1
1281 A1* getA1() {return this;} in getA1()
1291 t23::A1* getA1() {return A2::getA1();} in getA1() argument
1298 A1 a1; in test()
1301 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1302 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1303 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1324 struct A1 struct
1327 virtual ~A1() {} in ~A1()
1329 A1* getA1() {return this;} in getA1()
1333 : protected virtual A1
1338 A1* getA1() {return this;} in getA1()
1348 t24::A1* getA1() {return A2::getA1();} in getA1() argument
1355 A1 a1; in test()
1358 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1359 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1360 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1381 struct A1 struct
1384 virtual ~A1() {} in ~A1()
1386 A1* getA1() {return this;} in getA1()
1390 : protected virtual A1
1395 A1* getA1() {return this;} in getA1()
1405 t25::A1* getA1() {return A2::getA1();} in getA1() argument
1412 A1 a1; in test()
1415 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1416 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1417 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1448 struct A1 struct
1451 virtual ~A1() {} in ~A1() argument
1453 A1* getA1() {return this;} in getA1() argument
1457 : public A1
1462 A1* getA1() {return this;} in getA1()
1467 : public A1,
1473 A1* getA12() {return A2::getA1();} in getA12()
1480 A1 a1; in test()
1483 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1484 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1485 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
1486 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1487 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA12()); in test()
1509 struct A1 struct
1512 virtual ~A1() {} in ~A1() argument
1514 A1* getA1() {return this;} in getA1() argument
1518 : private A1
1523 A1* getA1() {return this;} in getA1()
1528 : public A1,
1534 A1* getA12() {return A2::getA1();} in getA12()
1541 A1 a1; in test()
1544 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1545 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1546 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1568 struct A1 struct
1571 virtual ~A1() {} in ~A1() argument
1573 A1* getA1() {return this;} in getA1() argument
1577 : public A1
1582 A1* getA1() {return this;} in getA1()
1587 : private A1,
1593 A1* getA12() {return A2::getA1();} in getA12()
1600 A1 a1; in test()
1603 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1604 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1605 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
1606 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA12()); in test()
1628 struct A1 struct
1631 virtual ~A1() {} in ~A1() argument
1633 A1* getA1() {return this;} in getA1() argument
1637 : public A1
1642 A1* getA1() {return this;} in getA1()
1647 : public A1,
1653 A1* getA12() {return A2::getA1();} in getA12()
1660 A1 a1; in test()
1663 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1664 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1665 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
1666 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA12()); in test()
1687 struct A1 struct
1690 virtual ~A1() {} in ~A1() argument
1692 A1* getA1() {return this;} in getA1() argument
1696 : public A1
1701 A1* getA1() {return this;} in getA1()
1706 : private A1,
1712 A1* getA12() {return A2::getA1();} in getA12()
1719 A1 a1; in test()
1722 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1723 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1724 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
1725 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1726 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA12()); in test()
1747 struct A1 struct
1750 virtual ~A1() {} in ~A1() argument
1752 A1* getA1() {return this;} in getA1() argument
1756 : private A1
1761 A1* getA1() {return this;} in getA1()
1766 : public A1,
1772 A1* getA12() {return A2::getA1();} in getA12()
1779 A1 a1; in test()
1782 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1783 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1784 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1805 struct A1 struct
1808 virtual ~A1() {} in ~A1() argument
1810 A1* getA1() {return this;} in getA1() argument
1814 : private A1
1819 A1* getA1() {return this;} in getA1()
1824 : private A1,
1830 A1* getA12() {return A2::getA1();} in getA12()
1837 A1 a1; in test()
1840 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1841 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1842 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1863 struct A1 struct
1866 virtual ~A1() {} in ~A1() argument
1868 A1* getA1() {return this;} in getA1() argument
1872 : private A1
1877 A1* getA1() {return this;} in getA1()
1882 : private A1,
1888 A1* getA12() {return A2::getA1();} in getA12()
1895 A1 a1; in test()
1898 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1899 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1900 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1931 struct A1 struct
1934 virtual ~A1() {} in ~A1() argument
1936 A1* getA1() {return this;} in getA1() argument
1940 : public virtual A1
1945 A1* getA1() {return this;} in getA1()
1950 : public virtual A1,
1956 A1* getA1() {return A1::getA1();} in getA1()
1963 A1 a1; in test()
1966 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1967 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1968 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
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()
1993 struct A1 struct
1996 virtual ~A1() {} in ~A1() argument
1998 A1* getA1() {return this;} in getA1() argument
2002 : private virtual A1
2007 A1* getA1() {return this;} in getA1()
2012 : public virtual A1,
2018 A1* getA1() {return A1::getA1();} in getA1()
2025 A1 a1; in test()
2028 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
2029 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2030 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2031 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
2053 struct A1 struct
2056 virtual ~A1() {} in ~A1() argument
2058 A1* getA1() {return this;} in getA1() argument
2062 : public virtual A1
2067 A1* getA1() {return this;} in getA1()
2072 : private virtual A1,
2078 A1* getA1() {return A1::getA1();} in getA1()
2085 A1 a1; in test()
2088 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
2089 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2090 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
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()
2115 struct A1 struct
2118 virtual ~A1() {} in ~A1() argument
2120 A1* getA1() {return this;} in getA1() argument
2124 : public virtual A1
2129 A1* getA1() {return this;} in getA1()
2134 : public virtual A1,
2140 A1* getA1() {return A1::getA1();} in getA1()
2147 A1 a1; in test()
2150 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
2151 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2152 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
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()
2176 struct A1 struct
2179 virtual ~A1() {} in ~A1() argument
2181 A1* getA1() {return this;} in getA1() argument
2185 : public virtual A1
2190 A1* getA1() {return this;} in getA1()
2195 : private virtual A1,
2201 A1* getA1() {return A1::getA1();} in getA1()
2208 A1 a1; in test()
2211 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
2212 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2213 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
2214 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2215 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
2236 struct A1 struct
2239 virtual ~A1() {} in ~A1() argument
2241 A1* getA1() {return this;} in getA1() argument
2245 : private virtual A1
2250 A1* getA1() {return this;} in getA1()
2255 : public virtual A1,
2261 A1* getA1() {return A1::getA1();} in getA1()
2268 A1 a1; in test()
2271 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
2272 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2273 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2274 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
2295 struct A1 struct
2298 virtual ~A1() {} in ~A1() argument
2300 A1* getA1() {return this;} in getA1() argument
2304 : private virtual A1
2309 A1* getA1() {return this;} in getA1()
2314 : private virtual A1,
2320 A1* getA1() {return A1::getA1();} in getA1()
2327 A1 a1; in test()
2330 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
2331 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2332 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2354 struct A1 struct
2357 virtual ~A1() {} in ~A1() argument
2359 A1* getA1() {return this;} in getA1() argument
2363 : private virtual A1
2368 A1* getA1() {return this;} in getA1()
2373 : private virtual A1,
2379 A1* getA1() {return A1::getA1();} in getA1()
2386 A1 a1; in test()
2389 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
2390 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2391 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()