* gcc.dg/cpp/fpreprocessed.c: New test.
authorNeil Booth <neil@gcc.gnu.org>
Sun, 25 Nov 2001 16:48:40 +0000 (16:48 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sun, 25 Nov 2001 16:48:40 +0000 (16:48 +0000)
From-SVN: r47325

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

diff --git a/gcc/testsuite/gcc.dg/cpp/fpreprocessed.c b/gcc/testsuite/gcc.dg/cpp/fpreprocessed.c
new file mode 100644 (file)
index 0000000..53d298f
--- /dev/null
@@ -0,0 +1,10 @@
+/* Copyright (C) 2001 Free Software Foundation, Inc.  */
+
+/* { dg-do preprocess } */
+/* { dg-options -fpreprocessed } */
+
+/* Source: Jason Merrill, 19 Nov 2001.  We'd try and back up a token
+   and move to a non-existent token run with -fpreprocessed on a file
+   without a leading # line.  */
+
+foo