Sign in
llvm
/
llvm-project
/
clang
/
5d98a3efc03f2b130f13449f974f802db1066da3
/
.
/
test
/
Driver
/
exceptions.m
blob: 51f1dd241bca233f79457b3621a72b5d0e6b6475 [
file
] [
log
] [
blame
]
// RUN: %clang -target x86_64-apple-darwin9 \
// 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
;
}