Patch: FYI: fix PR 35322 test case

Tom Tromey tromey@redhat.com
Fri Mar 14 16:23:00 GMT 2008


I'm checking this in.

Uros pointed out that my test case from yesterday was missing a
dg-error line.

Sorry about that.  I thought that the patch-testing script would
prevent me from making this particular mistake again, but I was wrong.

Tom

testsuite/ChangeLog:
2008-03-14  Uros Bizjak  <ubizjak@gmail.com>

	PR libcpp/35322:
	* gcc.dg/cpp/pr35322.c: Add dg-error line.

Index: testsuite/gcc.dg/cpp/pr35322.c
===================================================================
--- testsuite/gcc.dg/cpp/pr35322.c	(revision 133219)
+++ testsuite/gcc.dg/cpp/pr35322.c	(working copy)
@@ -1,4 +1,4 @@
 /* Test case for PR 35322 -- _Pragma ICE.  */
 
 /* { dg-do preprocess } */
-_Pragma("GCC dependency")
+_Pragma("GCC dependency") /* { dg-error "#pragma dependency expects" } */



More information about the Gcc-patches mailing list