aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2000-12-17 00:22:02 +0000
committerNeil Booth <neil@gcc.gnu.org>2000-12-17 00:22:02 +0000
commitad263514906e80b266d651717cdf9790a3dec057 (patch)
treebf58001201ad72b203004ecd79396e2b9879f1a6 /gcc
parentad2a084dbd3fbcacde8a5034ef381b1ee41d09e5 (diff)
downloadgcc-ad263514906e80b266d651717cdf9790a3dec057.zip
gcc-ad263514906e80b266d651717cdf9790a3dec057.tar.gz
gcc-ad263514906e80b266d651717cdf9790a3dec057.tar.bz2
syshdr1.C: Update.
* g++.old-deja/g++.other/syshdr1.C: Update. * gcc.dg/cpp/lineflags.c: Remove temporarily. From-SVN: r38320
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/syshdr1.C3
-rw-r--r--gcc/testsuite/gcc.dg/cpp/lineflags.c35
3 files changed, 6 insertions, 37 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index c28b22e..54f7a38 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * g++.old-deja/g++.other/syshdr1.C: Update.
+ * gcc.dg/cpp/lineflags.c: Remove temporarily.
+
2000-12-15 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* 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 b66f7c0..309bfd7 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 <mark@codesourcery.com>
// 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 ff11291..0000000
--- 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" } */