1 // RUN: %llvmgcc -x objective-c %s -arch i386 -pipe -std=gnu99 -O2 -fexceptions -S -o t.m | not grep Unwind_Resume
3 #import <Foundation/Foundation.h>
5 static NSMutableArray *anArray = nil;
7 CFArrayRef bork(void) {
8 CFArrayRef result = NULL;
9 NSAutoreleasePool *pool = [NSAutoreleasePool new];
11 result = CFRetain(anArray);
13 NSLog(@"Swallowed exception %@", any);