Lines Matching refs:A1

22 struct A1  struct
25 virtual ~A1() {} in ~A1() argument
27 A1* getA1() {return this;} in getA1() argument
48 A1 a1; in test()
51 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
52 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
53 assert(dynamic_cast<A1*>(a3.getA3()) == 0); in test()
75 struct A1 struct
78 virtual ~A1() {} in ~A1() argument
80 A1* getA1() {return this;} in getA1() argument
92 : public A1
102 A1 a1; in test()
105 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
106 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
107 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
108 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
126 struct A1 struct
129 virtual ~A1() {} in ~A1() argument
131 A1* getA1() {return this;} in getA1() argument
143 : public virtual A1
153 A1 a1; in test()
156 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
157 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
158 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
159 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
177 struct A1 struct
180 virtual ~A1() {} in ~A1() argument
182 A1* getA1() {return this;} in getA1() argument
194 : private A1
199 A1* getA1() {return this;} in getA1()
205 A1 a1; in test()
208 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
209 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
210 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
228 struct A1 struct
231 virtual ~A1() {} in ~A1() argument
233 A1* getA1() {return this;} in getA1() argument
245 : private virtual A1
250 A1* getA1() {return this;} in getA1()
256 A1 a1; in test()
259 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
260 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
261 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
287 struct A1 struct
290 virtual ~A1() {} in ~A1() argument
292 A1* getA1() {return this;} in getA1() argument
304 : public A1,
310 A1* getA1() {return this;} in getA1()
317 A1 a1; in test()
320 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
321 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
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()
344 struct A1 struct
347 virtual ~A1() {} in ~A1() argument
349 A1* getA1() {return this;} in getA1() argument
361 : public virtual A1,
367 A1* getA1() {return this;} in getA1()
374 A1 a1; in test()
377 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
378 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
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()
401 struct A1 struct
404 virtual ~A1() {} in ~A1() argument
406 A1* getA1() {return this;} in getA1() argument
418 : private A1,
424 A1* getA1() {return this;} in getA1()
431 A1 a1; in test()
434 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
435 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
436 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
437 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
457 struct A1 struct
460 virtual ~A1() {} in ~A1() argument
462 A1* getA1() {return this;} in getA1() argument
474 : private virtual A1,
480 A1* getA1() {return this;} in getA1()
487 A1 a1; in test()
490 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
491 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
492 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
493 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
513 struct A1 struct
516 virtual ~A1() {} in ~A1() argument
518 A1* getA1() {return this;} in getA1() argument
530 : public virtual A1,
536 A1* getA1() {return this;} in getA1()
543 A1 a1; in test()
546 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
547 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
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()
570 struct A1 struct
573 virtual ~A1() {} in ~A1() argument
575 A1* getA1() {return this;} in getA1() argument
587 : private A1,
593 A1* getA1() {return this;} in getA1()
600 A1 a1; in test()
603 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
604 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
605 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
606 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
626 struct A1 struct
629 virtual ~A1() {} in ~A1() argument
631 A1* getA1() {return this;} in getA1() argument
643 : private virtual A1,
649 A1* getA1() {return this;} in getA1()
656 A1 a1; in test()
659 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
660 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
661 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
662 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
682 struct A1 struct
685 virtual ~A1() {} in ~A1() argument
687 A1* getA1() {return this;} in getA1() argument
699 : private A1,
705 A1* getA1() {return this;} in getA1()
712 A1 a1; in test()
715 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
716 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
717 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
718 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
737 struct A1 struct
740 virtual ~A1() {} in ~A1() argument
742 A1* getA1() {return this;} in getA1() argument
754 : private virtual A1,
760 A1* getA1() {return this;} in getA1()
767 A1 a1; in test()
770 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
771 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
772 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
773 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
792 struct A1 struct
795 virtual ~A1() {} in ~A1() argument
797 A1* getA1() {return this;} in getA1() argument
809 : private virtual A1,
815 A1* getA1() {return this;} in getA1()
822 A1 a1; in test()
825 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
826 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
827 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
828 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
857 struct A1 struct
860 virtual ~A1() {} in ~A1() argument
862 A1* getA1() {return this;} in getA1() argument
866 : public A1
871 A1* getA1() {return this;} in getA1()
881 A1* getA1() {return this;} in getA1()
888 A1 a1; in test()
891 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
892 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
893 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
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()
918 struct A1 struct
921 virtual ~A1() {} in ~A1() argument
923 A1* getA1() {return this;} in getA1() argument
927 : public virtual A1
932 A1* getA1() {return this;} in getA1()
942 A1* getA1() {return this;} in getA1()
949 A1 a1; in test()
952 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
953 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
954 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
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()
979 struct A1 struct
982 virtual ~A1() {} in ~A1() argument
984 A1* getA1() {return this;} in getA1() argument
988 : private A1
993 A1* getA1() {return this;} in getA1()
1009 A1 a1; in test()
1012 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1013 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1014 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1036 struct A1 struct
1039 virtual ~A1() {} in ~A1() argument
1041 A1* getA1() {return this;} in getA1() argument
1045 : protected virtual A1
1050 A1* getA1() {return this;} in getA1()
1066 A1 a1; in test()
1069 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1070 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1071 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1093 struct A1 struct
1096 virtual ~A1() {} in ~A1() argument
1098 A1* getA1() {return this;} in getA1() argument
1102 : public virtual A1
1107 A1* getA1() {return this;} in getA1()
1117 A1* getA1() {return this;} in getA1()
1124 A1 a1; in test()
1127 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1128 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1129 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
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()
1154 struct A1 struct
1157 virtual ~A1() {} in ~A1() argument
1159 A1* getA1() {return this;} in getA1() argument
1163 : private A1
1168 A1* getA1() {return this;} in getA1()
1184 A1 a1; in test()
1187 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1188 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1189 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1211 struct A1 struct
1214 virtual ~A1() {} in ~A1() argument
1216 A1* getA1() {return this;} in getA1() argument
1220 : protected virtual A1
1225 A1* getA1() {return this;} in getA1()
1241 A1 a1; in test()
1244 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1245 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1246 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1268 struct A1 struct
1271 virtual ~A1() {} in ~A1()
1273 A1* getA1() {return this;} in getA1()
1277 : private A1
1282 A1* getA1() {return this;} in getA1()
1292 t23::A1* getA1() {return A2::getA1();} in getA1() argument
1299 A1 a1; in test()
1302 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1303 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1304 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1325 struct A1 struct
1328 virtual ~A1() {} in ~A1()
1330 A1* getA1() {return this;} in getA1()
1334 : protected virtual A1
1339 A1* getA1() {return this;} in getA1()
1349 t24::A1* getA1() {return A2::getA1();} in getA1() argument
1356 A1 a1; in test()
1359 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1360 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1361 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1382 struct A1 struct
1385 virtual ~A1() {} in ~A1()
1387 A1* getA1() {return this;} in getA1()
1391 : protected virtual A1
1396 A1* getA1() {return this;} in getA1()
1406 t25::A1* getA1() {return A2::getA1();} in getA1() argument
1413 A1 a1; in test()
1416 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1417 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1418 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1449 struct A1 struct
1452 virtual ~A1() {} in ~A1() argument
1454 A1* getA1() {return this;} in getA1() argument
1458 : public A1
1463 A1* getA1() {return this;} in getA1()
1468 : public A1,
1474 A1* getA12() {return A2::getA1();} in getA12()
1481 A1 a1; in test()
1484 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1485 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1486 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
1487 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1488 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA12()); in test()
1510 struct A1 struct
1513 virtual ~A1() {} in ~A1() argument
1515 A1* getA1() {return this;} in getA1() argument
1519 : private A1
1524 A1* getA1() {return this;} in getA1()
1529 : public A1,
1535 A1* getA12() {return A2::getA1();} in getA12()
1542 A1 a1; in test()
1545 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1546 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1547 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1569 struct A1 struct
1572 virtual ~A1() {} in ~A1() argument
1574 A1* getA1() {return this;} in getA1() argument
1578 : public A1
1583 A1* getA1() {return this;} in getA1()
1588 : private A1,
1594 A1* getA12() {return A2::getA1();} in getA12()
1601 A1 a1; in test()
1604 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1605 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1606 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
1607 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA12()); in test()
1629 struct A1 struct
1632 virtual ~A1() {} in ~A1() argument
1634 A1* getA1() {return this;} in getA1() argument
1638 : public A1
1643 A1* getA1() {return this;} in getA1()
1648 : public A1,
1654 A1* getA12() {return A2::getA1();} in getA12()
1661 A1 a1; in test()
1664 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1665 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1666 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
1667 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA12()); in test()
1688 struct A1 struct
1691 virtual ~A1() {} in ~A1() argument
1693 A1* getA1() {return this;} in getA1() argument
1697 : public A1
1702 A1* getA1() {return this;} in getA1()
1707 : private A1,
1713 A1* getA12() {return A2::getA1();} in getA12()
1720 A1 a1; in test()
1723 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1724 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1725 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
1726 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1727 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA12()); in test()
1748 struct A1 struct
1751 virtual ~A1() {} in ~A1() argument
1753 A1* getA1() {return this;} in getA1() argument
1757 : private A1
1762 A1* getA1() {return this;} in getA1()
1767 : public A1,
1773 A1* getA12() {return A2::getA1();} in getA12()
1780 A1 a1; in test()
1783 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1784 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1785 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1806 struct A1 struct
1809 virtual ~A1() {} in ~A1() argument
1811 A1* getA1() {return this;} in getA1() argument
1815 : private A1
1820 A1* getA1() {return this;} in getA1()
1825 : private A1,
1831 A1* getA12() {return A2::getA1();} in getA12()
1838 A1 a1; in test()
1841 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1842 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1843 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1864 struct A1 struct
1867 virtual ~A1() {} in ~A1() argument
1869 A1* getA1() {return this;} in getA1() argument
1873 : private A1
1878 A1* getA1() {return this;} in getA1()
1883 : private A1,
1889 A1* getA12() {return A2::getA1();} in getA12()
1896 A1 a1; in test()
1899 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1900 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1901 assert(dynamic_cast<A1*>(a3.getA12()) == a3.getA12()); in test()
1932 struct A1 struct
1935 virtual ~A1() {} in ~A1() argument
1937 A1* getA1() {return this;} in getA1() argument
1941 : public virtual A1
1946 A1* getA1() {return this;} in getA1()
1951 : public virtual A1,
1957 A1* getA1() {return A1::getA1();} in getA1()
1964 A1 a1; in test()
1967 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1968 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1969 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
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()
1994 struct A1 struct
1997 virtual ~A1() {} in ~A1() argument
1999 A1* getA1() {return this;} in getA1() argument
2003 : private virtual A1
2008 A1* getA1() {return this;} in getA1()
2013 : public virtual A1,
2019 A1* getA1() {return A1::getA1();} in getA1()
2026 A1 a1; in test()
2029 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
2030 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2031 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2032 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
2054 struct A1 struct
2057 virtual ~A1() {} in ~A1() argument
2059 A1* getA1() {return this;} in getA1() argument
2063 : public virtual A1
2068 A1* getA1() {return this;} in getA1()
2073 : private virtual A1,
2079 A1* getA1() {return A1::getA1();} in getA1()
2086 A1 a1; in test()
2089 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
2090 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2091 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
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()
2116 struct A1 struct
2119 virtual ~A1() {} in ~A1() argument
2121 A1* getA1() {return this;} in getA1() argument
2125 : public virtual A1
2130 A1* getA1() {return this;} in getA1()
2135 : public virtual A1,
2141 A1* getA1() {return A1::getA1();} in getA1()
2148 A1 a1; in test()
2151 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
2152 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2153 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
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()
2177 struct A1 struct
2180 virtual ~A1() {} in ~A1() argument
2182 A1* getA1() {return this;} in getA1() argument
2186 : public virtual A1
2191 A1* getA1() {return this;} in getA1()
2196 : private virtual A1,
2202 A1* getA1() {return A1::getA1();} in getA1()
2209 A1 a1; in test()
2212 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
2213 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2214 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
2215 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2216 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
2237 struct A1 struct
2240 virtual ~A1() {} in ~A1() argument
2242 A1* getA1() {return this;} in getA1() argument
2246 : private virtual A1
2251 A1* getA1() {return this;} in getA1()
2256 : public virtual A1,
2262 A1* getA1() {return A1::getA1();} in getA1()
2269 A1 a1; in test()
2272 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
2273 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2274 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2275 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
2296 struct A1 struct
2299 virtual ~A1() {} in ~A1() argument
2301 A1* getA1() {return this;} in getA1() argument
2305 : private virtual A1
2310 A1* getA1() {return this;} in getA1()
2315 : private virtual A1,
2321 A1* getA1() {return A1::getA1();} in getA1()
2328 A1 a1; in test()
2331 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
2332 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2333 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
2355 struct A1 struct
2358 virtual ~A1() {} in ~A1() argument
2360 A1* getA1() {return this;} in getA1() argument
2364 : private virtual A1
2369 A1* getA1() {return this;} in getA1()
2374 : private virtual A1,
2380 A1* getA1() {return A1::getA1();} in getA1()
2387 A1 a1; in test()
2390 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
2391 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2392 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()