comparison clang/test/PCH/chain-selectors.m @ 236:c4bab56944e8 llvm-original

LLVM 16
author kono
date Wed, 09 Nov 2022 17:45:10 +0900
parents 1d019706d866
children
comparison
equal deleted inserted replaced
232:70dce7da266c 236:c4bab56944e8
9 -(void)f2 {} 9 -(void)f2 {}
10 -(void)g: (int)p {} 10 -(void)g: (int)p {}
11 -(void)h: (int)p1 foo: (int)p2 {} 11 -(void)h: (int)p1 foo: (int)p2 {}
12 @end 12 @end
13 13
14 void bar() { 14 void bar(void) {
15 id a = 0; 15 id a = 0;
16 [a nothing]; // expected-warning {{method '-nothing' not found}} 16 [a nothing]; // expected-warning {{method '-nothing' not found}}
17 [a f]; 17 [a f];
18 // FIXME: Can't verify notes in headers 18 // FIXME: Can't verify notes in headers
19 //[a f2]; 19 //[a f2];