Temporarily XFAIL this test.
[oota-llvm.git] / test / FrontendObjC / 2007-09-25-EH.m
1 // RUN: %llvmgcc -c -w -m64 -mmacosx-version-min=10.5 %s -o /dev/null
2 // XFAIL: *
3 // Reenable when Obj-C FE problem is fixed.
4
5 @class NSDictionary, DSoBuffer, DSoDirectory, NSMutableArray;
6 @interface NSException {}
7 @end
8 @interface DSoNode {
9   DSoDirectory  *mDirectory;
10 }
11 @end
12 @implementation DSoNode
13 - (void) _findRecordsOfTypes {
14   DSoBuffer      *dbData;
15   void           *recInfo;
16   NSMutableArray *results;
17   @try {
18     dsGetRecordEntry([dbData dsDataBuffer], (void**)&recInfo);
19     @try {
20         [results addObject:37];
21     } @finally {
22       dsDeallocRecordEntry([mDirectory dsDirRef], recInfo);
23     }
24   } @catch(NSException * exception) {
25   }
26 }
27
28