aboutsummaryrefslogtreecommitdiff
path: root/libcc1
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2024-01-17 13:01:01 -0500
committerPatrick Palka <ppalka@redhat.com>2024-01-17 13:01:01 -0500
commit68cea2d32a9fd525154b6a48042e5835d4c5e371 (patch)
tree1b7db769a2c867bc8e4d417e49ad089a423724b6 /libcc1
parent6eca0d23b7ea84f1d41057bcc9f71d8e0d2d2fe3 (diff)
downloadgcc-68cea2d32a9fd525154b6a48042e5835d4c5e371.zip
gcc-68cea2d32a9fd525154b6a48042e5835d4c5e371.tar.gz
gcc-68cea2d32a9fd525154b6a48042e5835d4c5e371.tar.bz2
c++: address of class NTTP object as targ [PR113242]
invalid_tparm_referent_p was rejecting using the address of a class NTTP object as a template argument, but this should be fine. PR c++/113242 PR c++/99493 gcc/cp/ChangeLog: * pt.cc (invalid_tparm_referent_p) <case ADDR_EXPR>: Suppress DECL_ARTIFICIAL rejection test for class NTTP objects. gcc/testsuite/ChangeLog: * g++.dg/cpp2a/nontype-class61.C: New test. * g++.dg/cpp2a/nontype-class62.C: New test. Reviewed-by: Jason Merrill <jason@redhat.com>
Diffstat (limited to 'libcc1')
0 files changed, 0 insertions, 0 deletions