Commit 7098b619 by Neil Booth Committed by Neil Booth

cmdlne-dD.c, [...]: New tests.

	* gcc.dg/cpp/trad/cmdlne-dD.c, gcc.dg/cpp/trad/cmdlne-dM.c,
	gcc.dg/cpp/trad/include.c: New tests.

From-SVN: r55146
parent 0a220b4a
2002-07-01 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/trad/cmdlne-dD.c, gcc.dg/cpp/trad/cmdlne-dM.c,
gcc.dg/cpp/trad/include.c: New tests.
2002-07-01 Hans-Peter Nilsson <hp@axis.com>
PR target/7177
......
/* Copyright (C) 2000, 2002 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* { dg-options "-dD -traditional-cpp" } */
/* Test -dD does not fail. */
#define objlike obj like
#define funlike(like) fun like
/* Copyright (C) 2000, 2002 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* { dg-options "-dM -traditional-cpp" } */
/* Test -dM does not fail. */
#define objlike obj like
#define funlike(like) fun like
/* Copyright (c) 2002 Free Software Foundation Inc. */
/* Test that macros are not expanded in the <> quotes of #inlcude. */
/* { dg-do preprocess } */
#define __STDC__ 1 /* Stop complaints about non-ISO compilers. */
#define stdio 1
#include <stdio.h> /* { dg-bogus "o such file or directory" } */
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