Debian Codegraph @

clang/test/Preprocessor/macro_fn_varargs_named.c

raw
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)
7
8 #define A(b, c...) b c
9 a: A(x)
10 b: A(x, y, z,h)
11
12 #define B(b, c...) foo(b, ## c)
13 c: B(x)