Sign in
llvm
/
llvm-project
/
clang
/
f24f1aa67f8de1cb864ef833f358840411ebaf5b
/
.
/
test
/
SemaObjC
/
warn-unused-exception-param.m
blob: 968a6e02821561d24df056367a36c41f0dbd8ff7 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify -fobjc-exceptions -Wunused-exception-parameter %s
void
f0
(
void
)
{
@try
{}
@catch
(
id a
)
{}
// expected-warning{{unused exception parameter 'a'}}
}