Commit 2d3483dc by Neil Booth Committed by Zack Weinberg

cmdlne-dD.c: New test.

	* gcc.dg/cpp/cmdlne-dD.c: New test.
	* gcc.dg/cpp/cmdlne-dM.c: New test.

From-SVN: r35095
parent 9e5ac782
2000-07-17 Neil Booth <neilb@earthling.net>
* gcc.dg/cpp/cmdlne-dM.c: New test.
* gcc.dg/cpp/cmdlne-dD.c: New test.
Mon Jul 17 03:13:12 2000 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/20000717-3.c: New test.
......
/* Copyright (C) 2000 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* { dg-options -dD } */
/* Test -dD 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__
#define gnu_varargs(x, y...) x ## y
/* 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment