| 1 |
// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s |
| 2 |
|
| 3 |
|
| 4 |
@interface Foo |
| 5 |
-(void)paramNamedID:(int)id usesIDType:(id)notShadowed; |
| 6 |
-(void)paramNamedID:(int)id, id notShadowed; // expected-warning{{use of C-style parameters in Objective-C method declarations is deprecated}} |
| 7 |
@end |