Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
88b6c4b367e40ae324552184319e8c058feb4318
/
.
/
test
/
SemaObjC
/
warn-unused-exception-param.m
blob: 221e16ff64782ad19e5f3ba053cf5030a52600ba [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify -fobjc-exceptions -Wunused-exception-parameter %s
void
f0
()
{
@try
{}
@catch
(
id a
)
{}
// expected-warning{{unused exception parameter 'a'}}
}