You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
455 B
18 lines
455 B
// RUN: %clang -fexceptions -emit-llvm -x objc++-cpp-output -S %s -o /dev/null
|
|
// RUN: %clang -fexceptions -emit-llvm -x objc++-cpp-output -S %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"
|