* gcc.dg/cpp-li2.c: New test.

From-SVN: r32146
This commit is contained in:
Alexandre Oliva 2000-02-25 05:05:40 +00:00 committed by Alexandre Oliva
parent e729bc6d57
commit 495da1f64f
2 changed files with 15 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* gcc.dg/cpp-li2.c: New test.
* gcc.dg/cpp-wi1.c: New test.
* gcc.dg/cpp-li1.c: New test.

View File

@ -0,0 +1,13 @@
/* Copyright (C) 2000 Free Software Foundation.
by Alexandre Oliva <oliva@lsd.ic.unicamp.br> */
/* { dg-do preprocess } */
#line 1
#line 0
#line 2
#line 32768
/* { dg-error "out of range" "line # too low" { target *-*-* } 1 } */
/* { dg-error "out of range" "line # too high" { target *-*-* } 2 } */