[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / preprocessor.c
blob897b98a88baad863e49ae8fe6eae5db4b843bfb0
1 // RUN: %clang -E -x c-header %s > %t
2 // RUN: grep 'B B' %t
4 #define A B
5 A A
7 // The driver should pass preprocessor dump flags (-dD, -dM and -dI) to cc1 invocation
8 // RUN: %clang -### -E -dD %s 2>&1 | FileCheck --check-prefix=CHECK-dD %s
9 // RUN: %clang -### -E -dM %s 2>&1 | FileCheck --check-prefix=CHECK-dM %s
10 // RUN: %clang -### -E -dI %s 2>&1 | FileCheck --check-prefix=CHECK-dI %s
11 // CHECK-dD: "-cc1" {{.*}} "-dD"
12 // CHECK-dM: "-cc1" {{.*}} "-dM"
13 // CHECK-dI: "-cc1" {{.*}} "-dI"