re PR preprocessor/35322 (ICE with incomplete macro)
authorUros Bizjak <ubizjak@gmail.com>
Fri, 14 Mar 2008 15:44:56 +0000 (16:44 +0100)
committerTom Tromey <tromey@gcc.gnu.org>
Fri, 14 Mar 2008 15:44:56 +0000 (15:44 +0000)
2008-03-14  Uros Bizjak  <ubizjak@gmail.com>

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

From-SVN: r133220

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/pr35322.c

index fde203efb177cbfb03cacc14e3b2c1871b092ea9..cf5edb6c4c173120b73c6ec29d90b62731d42972 100644 (file)
@@ -1,3 +1,8 @@
+2008-03-14  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR libcpp/35322:
+       * gcc.dg/cpp/pr35322.c: Add dg-error line.
+
 2008-03-14  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/34043
index 916b4cc55c3924051ab062637a2a5cffd8cd8bd8..1af9605eac6cfcdd4626cd6cef18e90420fbb7f9 100644 (file)
@@ -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" } */