]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
New test.
authorNeil Booth <neilb@earthling.net>
Tue, 21 Nov 2000 07:41:32 +0000 (07:41 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 21 Nov 2000 07:41:32 +0000 (23:41 -0800)
From-SVN: r37608

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/integrated1.c [new file with mode: 0644]

index 9e94bf63484b3fce6ff37428808c5d7026778c64..a115d3270573f9a8f07cdec1afffacd3d2f01317 100644 (file)
@@ -1,3 +1,7 @@
+2000-11-20  Neil Booth  <neilb@earthling.net>
+
+       * gcc.dg/cpp/integrated1.c: New test.
+
 2000-11-21  Jakub Jelinek  <jakub@redhat.com>
 
        * g++.old-deja/g++.other/inline17.C: New test.
diff --git a/gcc/testsuite/gcc.dg/cpp/integrated1.c b/gcc/testsuite/gcc.dg/cpp/integrated1.c
new file mode 100644 (file)
index 0000000..75b60ad
--- /dev/null
@@ -0,0 +1,11 @@
+/* Copyright (C) 2000 Free Software Foundation, Inc.  */
+
+/* { dg-do compile } */
+/* { dg-options "-g -include mi1c.h" } */
+
+/* Tests that -g -include doesn't segfault.  This used to happen
+   because cpp_start_read would be called before initialising debug
+   output for the integrated front ends.
+
+   Contributed by Neil Booth 15 Nov 2000.  */
+