]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: adjust some tests for modules
authorJason Merrill <jason@redhat.com>
Sat, 16 Nov 2024 03:18:27 +0000 (22:18 -0500)
committerJason Merrill <jason@redhat.com>
Sat, 16 Nov 2024 12:18:31 +0000 (07:18 -0500)
commit064c6493c879c4c1a989e67ce5adc32c1be83d67
tree568262030c2f011a2df9424528026a0cc1da04cb
parentd8af6c203f18b4fd736df9567926589d96f8e0b3
c++: adjust some tests for modules

We aren't enabling modules by default yet, but let's fix these tests now so
they won't fail when that happens.

gcc/testsuite/ChangeLog:

* g++.dg/template/error25.C: Adjust export diagnostic.
* g++.old-deja/g++.benjamin/tem05.C: Likewise.
* g++.old-deja/g++.pt/export1.C: Likewise.
* g++.dg/pch/pch.exp: Specify -fno-modules.
gcc/testsuite/g++.dg/pch/pch.exp
gcc/testsuite/g++.dg/template/error25.C
gcc/testsuite/g++.old-deja/g++.benjamin/tem05.C
gcc/testsuite/g++.old-deja/g++.pt/export1.C