gcc/testsuite/objc.dg/special/load-category-2.h
raw| 1 | /* Contributed by Nicola Pero <[email protected]>, December 2010. */ |
| 2 | |
| 3 | /* Test the order of calling +load between classes and categories. */ |
| 4 | |
| 5 | void complete_load_step (int load_step); |
| 6 | void check_that_load_step_was_completed (int load_step); |
| 7 | void check_that_load_step_was_not_completed (int load_step); |
| 8 | |
| 9 | @interface TestClass1 |
| 10 | { |
| 11 | id isa; |
| 12 | } |
| 13 | @end |
| 14 | |
| 15 | @interface TestClass2 : TestClass1 |
| 16 | @end |
| 17 | |
| 18 | @interface TestClass3 : TestClass2 |
| 19 | @end |