1// RUN: rm -rf %t
2// RUN: %clang_cc1 -fsyntax-only -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs -fobjc-arc -verify -fblocks -triple x86_64-apple-darwin10.0.0 -DOBJCARC %s
3// rdar://36265651
4
5@interface A
6-(void) m:(id)p; // expected-note {{parameter declared here}}
7@end
8
9@interface B : A
10-(void) m:(__attribute__((ns_consumed)) id)p; // expected-error {{overriding method has mismatched ns_consumed attribute on its parameter}}
11@end
12
13@import empty;
14