1/*
2 * Copyright (c) 2010 Apple Inc. All rights reserved.
3 *
4 * @APPLE_LLVM_LICENSE_HEADER@
5 */
6
7//
8//  escape5.m
9//  btest
10//
11//  Created by Apple on 6/12/08.
12//  Copyright 2008 __MyCompanyName__. All rights reserved.
13//
14
15
16#import "common.h"
17
18
19
20void willThrow() {
21    @throw [NSException exceptionWithName:@"funny" reason:@"nothing" userInfo:nil];
22}
23void innocent() {
24    __block int i;
25    lastUse(i);
26    willThrow();
27}
28
29void test(void) {
30	@try {
31            innocent();
32        }
33        @catch(...) {
34        }
35}
36
37
38