view clang/test/SemaObjC/warn-unused-exception-param.m @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children c4bab56944e8
line wrap: on
line source

// RUN: %clang_cc1 -fsyntax-only -verify -fobjc-exceptions -Wunused-exception-parameter %s
void  f0() {
  @try {} @catch(id a) {} // expected-warning{{unused exception parameter 'a'}}
}