comparison clang/test/SemaObjC/protocols.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
60 @end 60 @end
61 @protocol B < A > // expected-error{{protocol has circular dependency}} 61 @protocol B < A > // expected-error{{protocol has circular dependency}}
62 @end 62 @end
63 63
64 @protocol P 64 @protocol P
65 - (int)test:(int)param, ..; // expected-warning{{type specifier missing}} \ 65 - (int)test:(int)param, ..; // expected-error{{type specifier missing}} \
66 // expected-error{{expected ';' after method prototype}} 66 // expected-error{{expected ';' after method prototype}}
67 @end 67 @end