| 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, 2007-2012 Free Software Foundation, Inc. | 3 Copyright 1993-2001, 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 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 561 i = class_param.Aref_a (g_A); | 561 i = class_param.Aref_a (g_A); |
| 562 i = class_param.Aref_x (g_A); | 562 i = class_param.Aref_x (g_A); |
| 563 i = class_param.Aval_a (g_A); | 563 i = class_param.Aval_a (g_A); |
| 564 i = class_param.Aval_x (g_A); | 564 i = class_param.Aval_x (g_A); |
| 565 } | 565 } |
| 566 | 566 |
| 567 | 567 |
| 568 int | 568 int |
| 569 main() | 569 main() |
| 570 { | 570 { |
| 571 #ifdef usestubs | |
| 572 set_debug_traps(); | |
| 573 breakpoint(); | |
| 574 #endif | |
| 575 dummy(); | 571 dummy(); |
| 576 inheritance1 (); | 572 inheritance1 (); |
| 577 inheritance3 (); | 573 inheritance3 (); |
| 578 enums1 (); | 574 enums1 (); |
| 579 register_class (); | 575 register_class (); |
| 580 | 576 |
| 581 /* FIXME: pmi gets optimized out. Need to do some more computation with | 577 /* FIXME: pmi gets optimized out. Need to do some more computation with |
| 582 it or something. (No one notices, because the test is xfail'd anyway, | 578 it or something. (No one notices, because the test is xfail'd anyway, |
| 583 but that probably won't always be true...). */ | 579 but that probably won't always be true...). */ |
| 584 int Foo::* pmi = &Foo::y; | 580 int Foo::* pmi = &Foo::y; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 596 default_public_struct default_public_s; | 592 default_public_struct default_public_s; |
| 597 explicit_public_struct explicit_public_s; | 593 explicit_public_struct explicit_public_s; |
| 598 protected_struct protected_s; | 594 protected_struct protected_s; |
| 599 private_struct private_s; | 595 private_struct private_s; |
| 600 mixed_protection_struct mixed_protection_s; | 596 mixed_protection_struct mixed_protection_s; |
| 601 public_class public_c; | 597 public_class public_c; |
| 602 protected_class protected_c; | 598 protected_class protected_c; |
| 603 default_private_class default_private_c; | 599 default_private_class default_private_c; |
| 604 explicit_private_class explicit_private_c; | 600 explicit_private_class explicit_private_c; |
| 605 mixed_protection_class mixed_protection_c; | 601 mixed_protection_class mixed_protection_c; |
| OLD | NEW |