1 | // RUN: %clang_cc1 -fsyntax-only -Wselector -verify %s |
---|---|
2 | // expected-no-diagnostics |
3 | // rdar://8851684 |
4 | @interface I |
5 | - length; |
6 | @end |
7 | |
8 | static inline SEL IsEmpty() { |
9 | return @selector(length); |
10 | } |
11 | |
12 | int main (int argc, const char * argv[]) { |
13 | return 0; |
14 | } |
15 | |
16 |