re PR preprocessor/33305 (We should warn about empty macro arguments)
authorAndrew Haley <aph@redhat.com>
Thu, 3 Jul 2008 10:13:48 +0000 (10:13 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Thu, 3 Jul 2008 10:13:48 +0000 (10:13 +0000)
commitd92007910f9e9033056d558dd4a49e4828cc0067
treeb3b421ec3934a5398bb571a7badfd6d17cee0eb7
parentd07660ccf3063d1155df32ce320f101bafca04a2
re PR preprocessor/33305 (We should warn about empty macro arguments)

2008-07-03  Andrew Haley  <aph@redhat.com>

        PR preprocessor/33305
        * gcc.dg/cpp/avoidpaste1.c: Use dg-options "-ansi" to avoid
        "-pedantic".
        * gcc.dg/cpp/avoidpaste2.c: Likewise
        * gcc.dg/cpp/20000519-1.c: Likewise.
        * g++.dg/ext/gnu-inline-global-reject.C: Likewise.
        * gcc.dg/cpp/c99-empty-macro-args.c: New test.
        * gcc.dg/cpp/c90-empty-macro-args.c: New test.

From-SVN: r137411
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/gnu-inline-global-reject.C
gcc/testsuite/gcc.dg/cpp/20000519-1.c
gcc/testsuite/gcc.dg/cpp/avoidpaste1.c
gcc/testsuite/gcc.dg/cpp/avoidpaste2.c
gcc/testsuite/gcc.dg/cpp/c90-empty-macro-args.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/c99-empty-macro-args.c [new file with mode: 0644]