]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Make embed-10.c test more robust
authorJakub Jelinek <jakub@redhat.com>
Fri, 17 Jan 2025 20:00:50 +0000 (21:00 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 17 Jan 2025 20:00:50 +0000 (21:00 +0100)
commitd8a31b5bead0c64d7e4a59d6834bc649f68de765
treef2f9de81633e6de401ba930f525563c77b4080f0
parent975c4f1a5de4ede89ee9499cd1a73d613a4aeae4
testsuite: Make embed-10.c test more robust

With the https://gcc.gnu.org/pipermail/gcc-patches/2025-January/673945.html
hack we get slightly different error wording in one of the errors, given that
the test actually does use #embed, I think both wordings are just fine and
we should accept them.

2025-01-17  Jakub Jelinek  <jakub@redhat.com>

* c-c++-common/cpp/embed-10.c: Allow a different error wording for
C++.
gcc/testsuite/c-c++-common/cpp/embed-10.c