Sign in
llvm
/
llvm-project
/
clang
/
b27966d28c9bfe8897e72489c9c80b0adca2709a
/
.
/
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
;
}