[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / driverkit-exceptions.cpp
blob76a39770338e66c226fb6926d60c92dfd400e0ef
1 // REQUIRES: x86-registered-target
2 // RUN: %clang %s -target x86_64-apple-driverkit19.0 -### 2>&1 | FileCheck %s -check-prefix=DEFAULT
3 // RUN: %clang %s -target x86_64-apple-driverkit19.0 -fexceptions -### 2>&1 | FileCheck %s -check-prefix=USERPROVIDED
5 int main() { return 0; }
6 // DEFAULT-NOT: "-fcxx-exceptions"
7 // DEFAULT-NOT: "-fexceptions"
8 // USERPROVIDED: "-fcxx-exceptions"
9 // USERPROVIDED: "-fexceptions"