1 // RUN: %clang_cc1 -E -dM %s -o - | FileCheck %s -strict-whitespace
3 // Space at end even without expansion tokens
7 // Space before expansion list.
8 // CHECK: #define B(x,y) x y
11 // No space in argument list.
12 // CHECK: #define C(x,y) x y
15 // No paste avoidance.
16 // CHECK: #define D() ..
21 // CHECK: #define F X()Y
25 // gcc prints macros at end of translation unit, so last one wins.
31 // Variadic macros of various sorts. PR5699
33 // CHECK: H(x,...) __VA_ARGS__
34 #define H(x, ...) __VA_ARGS__
35 // CHECK: I(...) __VA_ARGS__
36 #define I(...) __VA_ARGS__
37 // CHECK: J(x...) __VA_ARGS__
38 #define J(x ...) __VA_ARGS__