Commit 3321c2d
authored
[clang] Add test for CWG794 "Base-derived conversion in member type of pointer-to-member conversion" (#121660)
This patch adds a test for
[CWG794](https://cplusplus.github.io/CWG/issues/794.html), which is an
NB comment closed as NAD. Author was asked to bring a paper to
Evolution, which never happened. So we test for the absence of
base-derived conversion in pointer-to-member conversion.1 parent fbc198c commit 3321c2d
2 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4775 | 4775 | | |
4776 | 4776 | | |
4777 | 4777 | | |
4778 | | - | |
| 4778 | + | |
4779 | 4779 | | |
4780 | 4780 | | |
4781 | 4781 | | |
| |||
0 commit comments