blob: 24dcc4e290f560327b1f2893bc453e93a3a16bd8 [file] [log] [blame]
/* { dg-do compile { target { *-*-darwin* } } } */
/* { dg-options "-w -m64 -mmacosx-version-min=10.5" } */
@class NSDictionary, DSoBuffer, DSoDirectory, NSMutableArray;
@interface NSException {}
@end
@interface DSoNode {
DSoDirectory *mDirectory;
}
@end
@implementation DSoNode
- (void) _findRecordsOfTypes {
DSoBuffer *dbData;
void *recInfo;
NSMutableArray *results;
@try {
dsGetRecordEntry([dbData dsDataBuffer], (void**)&recInfo);
@try {
[results addObject:37];
} @finally {
dsDeallocRecordEntry([mDirectory dsDirRef], recInfo);
}
} @catch(NSException * exception) {
}
}