Fariborz Jahanian | 8b78913 | 2011-02-04 23:19:27 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -Wselector -verify %s |
Andy Gibbs | 8e8fb3b | 2012-10-19 12:44:48 +0000 | [diff] [blame] | 2 | // expected-no-diagnostics |
Fariborz Jahanian | 8b78913 | 2011-02-04 23:19:27 +0000 | [diff] [blame] | 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 |