Sign in
cobalt
/
cobalt
/
308ed6b84664d59944cd65f4b4359c28a2443be6
/
.
/
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
;
}