llvm-project/clang/test/Rewriter/rewrite-foreach-7.m

8 lines
134 B
Objective-C

// RUN: %clang_cc1 -rewrite-objc -fobjc-fragile-abi %s -o -
@class NSArray;
int main() {
NSArray *foo;
for (Class c in foo) { }
}