Vlad Serebrennikov 7e31d0723d [clang] Add test for CWG600
P1787: //CWG600 is resolved by explaining that accessibility affects naming a member in the sense of the ODR.//
Wording: see changes to [class.access] p1 and p4.
Additional references: [[ http://eel.is/c++draft/basic.def.odr#8.sentence-2 | basic.def.odr/8 ]]: //A function is odr-used if it is named by a potentially-evaluated expression or conversion.//

Reviewed By: #clang-language-wg, aaron.ballman

Differential Revision: https://reviews.llvm.org/D139173
2022-12-06 12:42:35 +03:00
..
2022-08-01 13:13:18 -04:00
2022-12-06 12:42:35 +03:00
2019-10-24 13:25:15 -07:00