[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / retain-comments-from-system-headers.c
blob4d3e2ffe06f445fd3482bea3c0eb8ee8968ce12d
1 // Check that we pass -fretain-comments-from-system-headers to frontend.
2 //
3 // RUN: %clang -c %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-NO-RETAIN
4 // RUN: %clang -c %s -fretain-comments-from-system-headers -### 2>&1 | FileCheck %s --check-prefix=CHECK-RETAIN
5 //
6 // CHECK-RETAIN: -fretain-comments-from-system-headers
7 //
8 // CHECK-NO-RETAIN-NOT: -fretain-comments-from-system-headers