2011-02-05 07:19:27 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -Wselector -verify %s
|
2012-10-19 20:44:48 +08:00
|
|
|
// expected-no-diagnostics
|
2011-02-05 07:19:27 +08:00
|
|
|
// rdar://8851684
|
|
|
|
@interface I
|
|
|
|
- length;
|
|
|
|
@end
|
|
|
|
|
|
|
|
static inline SEL IsEmpty() {
|
|
|
|
return @selector(length);
|
|
|
|
}
|
|
|
|
|
|
|
|
int main (int argc, const char * argv[]) {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|