aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/resource
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2025-08-15 22:37:42 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2025-08-15 22:37:42 +0200
commit91b5fc4ae2e5c8693cc0b619562f15f90c0fdfaa (patch)
tree27ac1512ae18f42b976a94cb0417dc53bcb78f8f /libjava/classpath/resource
parent828c48f0680e209e96bcb76a232665ed047e92cc (diff)
downloadgcc-91b5fc4ae2e5c8693cc0b619562f15f90c0fdfaa.zip
gcc-91b5fc4ae2e5c8693cc0b619562f15f90c0fdfaa.tar.gz
gcc-91b5fc4ae2e5c8693cc0b619562f15f90c0fdfaa.tar.bz2
c++: Add testcases for the defarg part of P1766R1 [PR121552]
The following patch adds some testcases for the default argument (function and template) part of the paper, making sure we diagnose multiple defargs in the same TU and when visible in modules and DTRT when some aren't visible and some are visible and they are equal. Not testing when they are different since that is IFNDR. 2025-08-15 Jakub Jelinek <jakub@redhat.com> PR c++/121552 * g++.dg/parse/defarg21.C: New test. * g++.dg/template/defarg24.C: New test. * g++.dg/modules/default-arg-4_a.C: New test. * g++.dg/modules/default-arg-4_b.C: New test. * g++.dg/modules/default-arg-5_a.C: New test. * g++.dg/modules/default-arg-5_b.C: New test.
Diffstat (limited to 'libjava/classpath/resource')
0 files changed, 0 insertions, 0 deletions