llvm-for-llvmta/tools/clang/test/SemaObjC/selector-2.m

16 lines
254 B
Mathematica
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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;
}