Sign in
cobalt
/
cobalt
/
25399f97090f8a86f56525c38486080cb2747250
/
.
/
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
;
}