This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: FYI: fix PR 35322 test case


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" } */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]