mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-18 10:29:37 +08:00
* gcc.dg/cpp-li1.c: New test.
From-SVN: r32144
This commit is contained in:
parent
12b595c7c4
commit
cff244b2b2
@ -1,3 +1,7 @@
|
||||
2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
|
||||
|
||||
* gcc.dg/cpp-li1.c: New test.
|
||||
|
||||
2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* g++.old-deja/g++.other/sizeof5.C: New test.
|
||||
|
17
gcc/testsuite/gcc.dg/cpp-li1.c
Normal file
17
gcc/testsuite/gcc.dg/cpp-li1.c
Normal file
@ -0,0 +1,17 @@
|
||||
/* Copyright (C) 2000 Free Software Foundation.
|
||||
|
||||
by Alexandre Oliva <oliva@lsd.ic.unicamp.br> */
|
||||
|
||||
/* { dg-do preprocess } */
|
||||
|
||||
/* The line number below must be just a few lines greater than the
|
||||
actual line number. */
|
||||
#line 10 "baz"
|
||||
|
||||
/*
|
||||
{ dg-final { if \{ [grep cpp-li1.i baz] != "" \} \{ } }
|
||||
{ dg-final { pass "cpp-li1.i: #line directive optimization" } }
|
||||
{ dg-final { \} else \{ } }
|
||||
{ dg-final { fail "cpp-li1.i: #line directive optimization" } }
|
||||
{ dg-final { \} } }
|
||||
*/
|
Loading…
Reference in New Issue
Block a user