24 lines
350 B
Plaintext
24 lines
350 B
Plaintext
/* It is OK to use #pragma inside @implementation body. This test checks that. */
|
|
/* Ziemowit Laski <zlaski@apple.com>. */
|
|
|
|
@interface A
|
|
{
|
|
int p;
|
|
}
|
|
+(int) foo;
|
|
-(int) bar;
|
|
@end
|
|
|
|
@implementation A
|
|
#pragma mark -
|
|
#pragma mark init / dealloc
|
|
+ (int)foo {
|
|
return 1;
|
|
}
|
|
#pragma mark -
|
|
#pragma mark Private Functions
|
|
- (int)bar {
|
|
return 2;
|
|
}
|
|
@end
|