* gcc.dg/cpp/20000720-1.S: New test.

From-SVN: r35223
This commit is contained in:
Jakub Jelinek 2000-07-24 10:17:31 +02:00 committed by Jakub Jelinek
parent e20dccadaf
commit 45d523184d
2 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-07-24 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/cpp/20000720-1.S: New test.
2000-07-21 Michael Meissner <meissner@redhat.com>
* gcc.c-torture/execute/ieee/hugeval.c: New test.

View File

@ -0,0 +1,14 @@
/* { dg-do preprocess } */
#define nop() foobar
nop
call b
/*
{ dg-final { if ![file exists 20000720-1.i] { return } } }
{ dg-final { if \{ [grep 20000720-1.i "nop.*call"] != "" \} \{ } }
{ dg-final { fail "20000720-1.S: new-line preservation" } }
{ dg-final { \} else \{ } }
{ dg-final { pass "20000720-1.S: new-line preservation" } }
{ dg-final { \} } }
*/