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