blob: 63b15d8c18b2ff1008d7fd5979375be4b2b28324 [file] [log] [blame]
// RUN: %clang -x objc++-cpp-output -c %s -o /dev/null
// RUN: %clang -x objc++-cpp-output -c %s -o /dev/null -### 2>&1 | FileCheck %s
// PR13820
// REQUIRES: LP64
// Should compile without errors
@protocol P
- (void)m;
@end
void f() {}
class C {};
// Make sure the driver is passing all the necessary exception flags.
// CHECK: "-fobjc-exceptions"
// CHECK: "-fcxx-exceptions"
// CHECK: "-fexceptions"