llvm-project/clang/test/Driver/objc-cpp-output.m
Nico Weber ed8080cb9f Add support of -x objc-cpp-output, -x objc++-cpp-output to the Driver.
Matches gcc, and is also required for using ccache with clang.

llvm-svn: 137563
2011-08-13 23:13:37 +00:00

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() {}