Sign in
cobalt
/
cobalt
/
6c8e6ca645585847723be8278a12b4ca8ab72d69
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
Driver
/
exceptions.m
blob: 9b747bb84d19732ec592945cd818e8818ee59610 [
file
] [
log
] [
blame
]
// RUN: %clang -target 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
;
}