diff options
author | Jason Merrill <jason@redhat.com> | 2024-02-02 12:04:11 -0500 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2024-02-02 13:54:21 -0500 |
commit | e17a122d417fc0d606bcb3a3705b93ee81745cab (patch) | |
tree | abd2f42c4198fc2cfbb1c5679076057fc6932801 /gcc/go | |
parent | 1c3cfb5a95dcc7f797ec2815690a6291878580c4 (diff) | |
download | gcc-e17a122d417fc0d606bcb3a3705b93ee81745cab.zip gcc-e17a122d417fc0d606bcb3a3705b93ee81745cab.tar.gz gcc-e17a122d417fc0d606bcb3a3705b93ee81745cab.tar.bz2 |
c++: op== defaulted outside class [PR110084]
defaulted_late_check is for checks that need to happen after the class is
complete; we shouldn't call it sooner.
PR c++/110084
gcc/cp/ChangeLog:
* pt.cc (tsubst_function_decl): Only check a function defaulted
outside the class if the class is complete.
gcc/testsuite/ChangeLog:
* g++.dg/cpp2a/spaceship-synth-neg3.C: Check error message.
* g++.dg/cpp2a/spaceship-eq16.C: New test.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions