repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
SemaObjC
/
protocol-id-test-2.m
blob
4c1befb97f62af013405cc6662eced493be2d78e
1
// RUN: %clang_cc1 -verify -Wno-objc-root-class %s
2
3
@protocol P
4
@end
5
6
@interface INTF<P>
7
- (void)IMeth;
8
@end
9
10
@implementation INTF
11
- (void)IMeth { [(id<P>)self Meth]; } // expected-warning {{instance method '-Meth' not found (return type defaults to 'id'); did you mean '-IMeth'?}}
12
@end