Sign in
llvm
/
llvm-project
/
clang
/
refs/heads/main
/
.
/
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'}}
}