[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Preprocessor / macro_fn_varargs_named.c
blobd27f5b3985baad193afc5bf4a2fd4c0f61999231
1 // RUN: %clang_cc1 -E %s | FileCheck %s --match-full-lines --strict-whitespace --check-prefix CHECK-1
2 // CHECK-1:a: x
3 // RUN: %clang_cc1 -E %s | FileCheck %s --match-full-lines --strict-whitespace --check-prefix CHECK-2
4 // CHECK-2:b: x y, z,h
5 // RUN: %clang_cc1 -E %s | FileCheck %s --match-full-lines --strict-whitespace --check-prefix CHECK-3
6 // CHECK-3:c: foo(x)
8 #define A(b, c...) b c
9 a: A(x)
10 b: A(x, y, z,h)
12 #define B(b, c...) foo(b, ## c)
13 c: B(x)