1*1f72a000SFilipe Cabecinhas// RUN: %clang -fexceptions -emit-llvm -x objc++-cpp-output -S %s -o /dev/null 2*1f72a000SFilipe Cabecinhas// RUN: %clang -fexceptions -emit-llvm -x objc++-cpp-output -S %s -o /dev/null -### 2>&1 | FileCheck %s 3ed8080cbSNico Weber 4cb0a08acSNAKAMURA Takumi// PR13820 5cb0a08acSNAKAMURA Takumi// REQUIRES: LP64 6cb0a08acSNAKAMURA Takumi 7ed8080cbSNico Weber// Should compile without errors 8ed8080cbSNico Weber@protocol P 9ed8080cbSNico Weber- (void)m; 10ed8080cbSNico Weber@end 11ed8080cbSNico Webervoid f() {} 12ed8080cbSNico Weberclass C {}; 13808baaf2SChad Rosier 14808baaf2SChad Rosier// Make sure the driver is passing all the necessary exception flags. 15808baaf2SChad Rosier// CHECK: "-fobjc-exceptions" 16808baaf2SChad Rosier// CHECK: "-fcxx-exceptions" 17808baaf2SChad Rosier// CHECK: "-fexceptions" 18