Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
469a1eb996e1cb0be54f9b210f836afbddcbb2cc
/
.
/
test
/
Rewriter
/
rewrite-eh.m
blob: 5bc80b55093ffb9edebf380de3df3385c1e0e6c3 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -rewrite-objc -o - %s
// rdar://7522880
@interface
NSException
@end
@interface
Foo
@end
@implementation
Foo
-
(
void
)
bar
{
@try
{
}
@catch
(
NSException
*
e
)
{
}
@catch
(
Foo
*
f
)
{
}
@catch
(...)
{
}
}
@end