llvm-project/clang/test/Driver/objc-cpp-output.m

8 lines
127 B
Objective-C

// RUN: %clang -x objc-cpp-output -c %s -o /dev/null
// Should compile without errors
@protocol P
- (void)m;
@end
void f() {}