+2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
+
+ * gcc.dg/cpp-li1.c: New test.
+
2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/sizeof5.C: New test.
--- /dev/null
+/* Copyright (C) 2000 Free Software Foundation.
+
+ by Alexandre Oliva <oliva@lsd.ic.unicamp.br> */
+
+/* { dg-do preprocess } */
+
+/* The line number below must be just a few lines greater than the
+ actual line number. */
+#line 10 "baz"
+
+/*
+ { dg-final { if \{ [grep cpp-li1.i baz] != "" \} \{ } }
+ { dg-final { pass "cpp-li1.i: #line directive optimization" } }
+ { dg-final { \} else \{ } }
+ { dg-final { fail "cpp-li1.i: #line directive optimization" } }
+ { dg-final { \} } }
+*/