summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/special/load-category-1.h
blob: 7810487dfe4ab7bf610b65bbdc6ec7a4537d5843 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* Contributed by Nicola Pero <nicola.pero@meta-innovation.com>, December 2010.  */

/* Test that +load works when a category is defined in a different
   module than the main class.  */

/* This function should be called any time +load is invoked, so we can
   keep the count.  */
extern int increase_load_count (void);

@interface TestClass1
{
  id isa;
}
@end

@interface TestClass2
{
  id isa;
}
@end