llvm-project/clang/test/Driver/objc++-cpp-output.mm

9 lines
141 B
Plaintext

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