OLD | NEW |
1 /* This testcase is part of GDB, the GNU debugger. | 1 /* This testcase is part of GDB, the GNU debugger. |
2 | 2 |
3 Copyright 1993-2001, 2004, 2007-2012 Free Software Foundation, Inc. | 3 Copyright 1993-2001, 2004, 2007-2012 Free Software Foundation, Inc. |
4 | 4 |
5 This program is free software; you can redistribute it and/or modify | 5 This program is free software; you can redistribute it and/or modify |
6 it under the terms of the GNU General Public License as published by | 6 it under the terms of the GNU General Public License as published by |
7 the Free Software Foundation; either version 3 of the License, or | 7 the Free Software Foundation; either version 3 of the License, or |
8 (at your option) any later version. | 8 (at your option) any later version. |
9 | 9 |
10 This program is distributed in the hope that it will be useful, | 10 This program is distributed in the hope that it will be useful, |
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
569 i = class_param.Aval_a (g_A); | 569 i = class_param.Aval_a (g_A); |
570 i = class_param.Aval_x (g_A); | 570 i = class_param.Aval_x (g_A); |
571 | 571 |
572 base1 b (3); | 572 base1 b (3); |
573 } | 573 } |
574 | 574 |
575 | 575 |
576 int | 576 int |
577 main() | 577 main() |
578 { | 578 { |
579 #ifdef usestubs | |
580 set_debug_traps(); | |
581 breakpoint(); | |
582 #endif | |
583 dummy(); | 579 dummy(); |
584 inheritance1 (); | 580 inheritance1 (); |
585 inheritance3 (); | 581 inheritance3 (); |
586 enums1 (); | 582 enums1 (); |
587 register_class (); | 583 register_class (); |
588 | 584 |
589 /* FIXME: pmi gets optimized out. Need to do some more computation with | 585 /* FIXME: pmi gets optimized out. Need to do some more computation with |
590 it or something. (No one notices, because the test is xfail'd anyway, | 586 it or something. (No one notices, because the test is xfail'd anyway, |
591 but that probably won't always be true...). */ | 587 but that probably won't always be true...). */ |
592 int Foo::* pmi = &Foo::y; | 588 int Foo::* pmi = &Foo::y; |
(...skipping 11 matching lines...) Expand all Loading... |
604 default_public_struct default_public_s; | 600 default_public_struct default_public_s; |
605 explicit_public_struct explicit_public_s; | 601 explicit_public_struct explicit_public_s; |
606 protected_struct protected_s; | 602 protected_struct protected_s; |
607 private_struct private_s; | 603 private_struct private_s; |
608 mixed_protection_struct mixed_protection_s; | 604 mixed_protection_struct mixed_protection_s; |
609 public_class public_c; | 605 public_class public_c; |
610 protected_class protected_c; | 606 protected_class protected_c; |
611 default_private_class default_private_c; | 607 default_private_class default_private_c; |
612 explicit_private_class explicit_private_c; | 608 explicit_private_class explicit_private_c; |
613 mixed_protection_class mixed_protection_c; | 609 mixed_protection_class mixed_protection_c; |
OLD | NEW |