xref: /llvm-project/clang/test/SemaObjC/selector-2.m (revision 0f1c1be1968076d6f96f8a7bcc4a15cf195ecd97)
1// RUN: %clang_cc1  -fsyntax-only -Wselector -verify %s
2// expected-no-diagnostics
3@interface  I
4- length;
5@end
6
7static inline SEL IsEmpty(void) {
8    return @selector(length);
9}
10
11int main (int argc, const char * argv[]) {
12    return 0;
13}
14
15