]> git.saurik.com Git - apple/objc4.git/blob - test/nsexc.m
objc4-680.tar.gz
[apple/objc4.git] / test / nsexc.m
1 /*
2 need exception-safe ARC for exception deallocation tests
3 TEST_CFLAGS -fobjc-arc-exceptions -framework Foundation
4
5 llvm-gcc unavoidably warns about our deliberately out-of-order handlers
6
7 TEST_BUILD_OUTPUT
8 In file included from .*
9 .*exc.m: In function .*
10 .*exc.m:\d+: warning: exception of type .* will be caught
11 .*exc.m:\d+: warning: by earlier handler for .*
12 .*exc.m:\d+: warning: exception of type .* will be caught
13 .*exc.m:\d+: warning: by earlier handler for .*
14 .*exc.m:\d+: warning: exception of type .* will be caught
15 .*exc.m:\d+: warning: by earlier handler for .*
16 OR
17 END
18 */
19
20 #define USE_FOUNDATION 1
21 #include "exc.m"