summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/cmdlne-dM.c
blob: 98660f8f5495684cbb340fe361504e5edef8408b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Copyright (C) 2000 Free Software Foundation, Inc.  */

/* { dg-do preprocess } */
/* { dg-options -dM } */

/* Test -dM does not fail.  */

#define objlike obj like
#define funlike(like) fun like
#define funlike2(fun, like) fun ## like
#define varargs(x, ...) x #x #__VA_ARGS__ __VA_ARGS__
#define gnu_varargs(x, y...) #y x ## y y