This is an archive of the discontinued LLVM Phabricator instance.

[clang][tests] Add a testcase for C++ DR2406
ClosedPublic

Authored by tbaeder on Feb 8 2022, 1:44 AM.

Details

Summary

DR2406 is in "unknown" state according to https://clang.llvm.org/cxx_dr_status.html.

The described defects do not exist in clang. The diagnostic messages are different but the program is still recognized as ill-formed.

Add a testcase in clang/test/CXX/drs. If I understand the make_cxx_dr_status script correctly, this should update the above webpage.

Diff Detail

Event Timeline

tbaeder requested review of this revision.Feb 8 2022, 1:44 AM
tbaeder created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 8 2022, 1:44 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
aaron.ballman accepted this revision.Feb 8 2022, 3:56 AM

LGTM, thank you for spotting this!

This revision is now accepted and ready to land.Feb 8 2022, 3:56 AM
This revision was automatically updated to reflect the committed changes.