Sign in
llvm
/
llvm-project
/
clang
/
f24f1aa67f8de1cb864ef833f358840411ebaf5b
/
.
/
test
/
Driver
/
exceptions.m
blob: 90c9bb58e66139ed99423673b78974bf7c85b438 [
file
] [
log
] [
blame
]
// RUN: %clang -target x86_64-apple-darwin11 \
// RUN: -fsyntax-only -fno-exceptions %s
void
f1
(
void
)
{
@throw
@
"A"
;
}
void
f0
(
void
)
{
@try
{
f1
();
}
@catch
(
id x
)
{
;
}
}
int
main
(
void
)
{
f0
();
return
0
;
}