summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/selector-2.m
blob: 17d1872cc7ea24168a85a92b02449bb4ede172e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %clang_cc1  -fsyntax-only -Wselector -verify %s
// expected-no-diagnostics
// rdar://8851684
@interface  I
- length;
@end

static inline SEL IsEmpty() {
    return @selector(length);
}

int main (int argc, const char * argv[]) {
    return 0;
}

OpenPOWER on IntegriCloud