* gcc.dg/cpp/avoidpaste1.c: Update.
From-SVN: r39499
This commit is contained in:
parent
b7a0a5fa1e
commit
f2f7ac4038
@ -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
|
||||
|
@ -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" } }
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user