diff options
author | Tom Tromey <tromey@redhat.com> | 2008-03-13 21:10:07 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2008-03-13 21:10:07 +0000 |
commit | 14ccf8003e6b3977fc0895bbe80335e5d2bdf8e3 (patch) | |
tree | 5f5d1ece2626b71732e651e128c1cd46bd507234 /gcc | |
parent | ca8bfb99cd460bb819a8e711f1cdcaf058106daf (diff) | |
download | gcc-14ccf8003e6b3977fc0895bbe80335e5d2bdf8e3.zip gcc-14ccf8003e6b3977fc0895bbe80335e5d2bdf8e3.tar.gz gcc-14ccf8003e6b3977fc0895bbe80335e5d2bdf8e3.tar.bz2 |
re PR preprocessor/35322 (ICE with incomplete macro)
gcc/testsuite
PR libcpp/35322:
* gcc.dg/cpp/pr35322.c: New file.
libcpp
PR libcpp/35322:
* directives.c (destringize_and_run): Set pfile->directive.
From-SVN: r133195
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/pr35322.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fd8c6d5..862a43e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-03-13 Tom Tromey <tromey@redhat.com> + + PR libcpp/35322: + * gcc.dg/cpp/pr35322.c: New file. + 2008-03-13 Uros Bizjak <ubizjak@gmail.com> * gcc.dg/vect/vect-align-2.c: Remove dg-do run directive. diff --git a/gcc/testsuite/gcc.dg/cpp/pr35322.c b/gcc/testsuite/gcc.dg/cpp/pr35322.c new file mode 100644 index 0000000..916b4cc --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/pr35322.c @@ -0,0 +1,4 @@ +/* Test case for PR 35322 -- _Pragma ICE. */ + +/* { dg-do preprocess } */ +_Pragma("GCC dependency") |