Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
5090e9f96e518bce482fd10b93f8bf3e2b11b5cc
/
.
/
test
/
Driver
/
exceptions.m
blob: 7d85fe30aefaa10e23636c106d139a2081d74cd3 [
file
] [
log
] [
blame
]
// RUN: %clang -ccc-host-triple x86_64-apple-darwin9 \
// RUN: -fsyntax-only -fno-exceptions %s
void
f1
()
{
@throw
@
"A"
;
}
void
f0
()
{
@try
{
f1
();
}
@catch
(
id x
)
{
;
}
}
int
main
()
{
f0
();
return
0
;
}