From f2f7ac4038d7f26430149d35a6dae7932c0ff87f Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Tue, 6 Feb 2001 19:09:39 +0000 Subject: [PATCH] * gcc.dg/cpp/avoidpaste1.c: Update. From-SVN: r39499 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/cpp/avoidpaste1.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 87a568f84de..d279a7e753f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2001-02-06 Neil Booth + + * gcc.dg/cpp/avoidpaste1.c: Update. + Tue Feb 5 8:53:33 2001 Ovidiu Predescu * objc/execute/bycopy-1.m, bycopy-2.m: Added new tests from Nicola diff --git a/gcc/testsuite/gcc.dg/cpp/avoidpaste1.c b/gcc/testsuite/gcc.dg/cpp/avoidpaste1.c index ce885b15458..952d54ef24a 100644 --- a/gcc/testsuite/gcc.dg/cpp/avoidpaste1.c +++ b/gcc/testsuite/gcc.dg/cpp/avoidpaste1.c @@ -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" } } */