diff options
Diffstat (limited to 'test/Preprocessor/microsoft-ext.c')
-rw-r--r-- | test/Preprocessor/microsoft-ext.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Preprocessor/microsoft-ext.c b/test/Preprocessor/microsoft-ext.c new file mode 100644 index 0000000000..a95ddca1df --- /dev/null +++ b/test/Preprocessor/microsoft-ext.c @@ -0,0 +1,7 @@ +// RUN: %clang_cc1 -E -fms-compatibility %s | FileCheck %s + +# define M2(x, y) x + y +# define P(x, y) {x, y} +# define M(x, y) M2(x, P(x, y)) +M(a, b) // CHECK: a + {a, b} + |