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