* gcc.dg/cpp/avoidpaste1.c: Update.

From-SVN: r39499
This commit is contained in:
Neil Booth 2001-02-06 19:09:39 +00:00 committed by Neil Booth
parent b7a0a5fa1e
commit f2f7ac4038
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2001-02-06 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/avoidpaste1.c: Update.
Tue Feb 5 8:53:33 2001 Ovidiu Predescu <ovidiu@cup.hp.com>
* objc/execute/bycopy-1.m, bycopy-2.m: Added new tests from Nicola

View File

@ -15,19 +15,19 @@
/* This should preprocess as
:: : : : : :^: 1.0e- 1
: : : .. . 0
: : : .. . 0 0 .
It relies on the fact that even when preprocessing C we bother to separate
the colons of C++'s :: operator. If we confine this behaviour to C++
in future, this test needs to change. */
:: :g: :f(): :f(^): tricky
:f(:): .. .__INCLUDE_LEVEL__ /* Check builtins, too. */
:f(:): .. .__INCLUDE_LEVEL__ __INCLUDE_LEVEL__. /* Check builtins, too. */
/*
{ dg-final { if ![file exists avoidpaste1.i] { return } } }
{ dg-final { if { [grep avoidpaste1.i ":: : : : : :\\^: 1.0e- 1"] != "" } \{ } }
{ dg-final { if { [grep avoidpaste1.i ": : : \\\.\\\. \\\. 0"] != "" } \{ } }
{ dg-final { if { [grep avoidpaste1.i ": : : \\\.\\\. \\\. 0 0 \\\."] != "" } \{ } }
{ dg-final { return \} \} } }
{ dg-final { fail "avoidpaste1.c: paste avoidance" } }
*/