aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/rewrite-try-catch.m
blob: b8ba45ee64f6606d91cc05c01f18669d6d595c79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// RUN: clang -rewrite-test %s | clang

@interface foo @end
@interface GARF @end

int main()
{

@try  {
   MYTRY();
}

@catch (foo* localException) {
   MYCATCH();
   @throw;
}
}