From ad263514906e80b266d651717cdf9790a3dec057 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sun, 17 Dec 2000 00:22:02 +0000 Subject: [PATCH] syshdr1.C: Update. * g++.old-deja/g++.other/syshdr1.C: Update. * gcc.dg/cpp/lineflags.c: Remove temporarily. From-SVN: r38320 --- gcc/testsuite/ChangeLog | 5 +++ .../g++.old-deja/g++.other/syshdr1.C | 3 +- gcc/testsuite/gcc.dg/cpp/lineflags.c | 35 ------------------- 3 files changed, 6 insertions(+), 37 deletions(-) delete mode 100644 gcc/testsuite/gcc.dg/cpp/lineflags.c diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c28b22e48d3..54f7a3853ed 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2000-12-17 Neil Booth + + * g++.old-deja/g++.other/syshdr1.C: Update. + * gcc.dg/cpp/lineflags.c: Remove temporarily. + 2000-12-15 Kriang Lerdsuwanakij * g++.old-deja/g++.oliva/template5.C: Remove XFAILs. diff --git a/gcc/testsuite/g++.old-deja/g++.other/syshdr1.C b/gcc/testsuite/g++.old-deja/g++.other/syshdr1.C index b66f7c0b454..309bfd7e8bd 100644 --- a/gcc/testsuite/g++.old-deja/g++.other/syshdr1.C +++ b/gcc/testsuite/g++.old-deja/g++.other/syshdr1.C @@ -2,8 +2,7 @@ // Origin: Mark Mitchell // Special g++ Options: -# 1 "foo" 1 3 +# 1 "foo" 3 void f () {} extern "C" void foo(int); extern "C" void foo(int) throw(); - diff --git a/gcc/testsuite/gcc.dg/cpp/lineflags.c b/gcc/testsuite/gcc.dg/cpp/lineflags.c deleted file mode 100644 index ff112916cc8..00000000000 --- a/gcc/testsuite/gcc.dg/cpp/lineflags.c +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright (C) 2000 Free Software Foundation, Inc. */ - -/* { dg-do preprocess } */ -/* { dg-options "-fno-show-column" } */ - -/* This tests whether various combinations of flags are correctly - accepted after #line. - - Neil Booth, 8 Dec 2000. */ - -#line 12 "file" 3 /* { dg-warning "extra tokens" } */ - -# 14 "file" 1 1 /* { dg-error "invalid flag" } */ -# 15 "file" 1 2 /* { dg-error "invalid flag" } */ -# 16 "file" 1 3 3 /* { dg-error "invalid flag" } */ -# 17 "file" 1 4 /* { dg-error "invalid flag" } */ -# 18 "file" 2 3 4 4 /* { dg-error "invalid flag" } */ -# 19 "file" 2 4 /* { dg-error "invalid flag" } */ -# 20 "file" 2 2 /* { dg-error "invalid flag" } */ -# 21 "file" 2 1 /* { dg-error "invalid flag" } */ -# 22 "file" 4 /* { dg-error "invalid flag" } */ -# 23 "file" 4 5 /* { dg-error "invalid flag" } */ -# 24 "file" 0 /* { dg-error "invalid flag" } */ -# 25 "file" 5 /* { dg-error "invalid flag" } */ -# 26 "file" foo /* { dg-error "invalid flag" } */ - - -# 29 "file" 1 /* { dg-bogus "invalid flag" } */ -# 30 "file" 2 /* { dg-bogus "invalid flag" } */ -# 31 "file" 1 3 /* { dg-bogus "invalid flag" } */ -# 32 "file" 2 3 /* { dg-bogus "invalid flag" } */ -# 33 "file" 1 3 4 /* { dg-bogus "invalid flag" } */ -# 34 "file" 2 3 4 /* { dg-bogus "invalid flag" } */ -# 35 "file" 3 /* { dg-bogus "invalid flag" } */ -# 36 "file" 3 4 /* { dg-bogus "invalid flag" } */