diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 9e94bf63484b3fce6ff37428808c5d7026778c64..a115d3270573f9a8f07cdec1afffacd3d2f01317 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
index 0000000000000000000000000000000000000000..75b60ad22788405e19911e4f363fd1170c0d692c
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/cpp/integrated1.c
@@ -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.  */
+