From: Bruno Ricci Date: Thu, 18 Apr 2019 15:45:08 +0000 (+0000) Subject: [Sema][NFC] Mark DR1563 as done (List-initialization and overloaded function disambig... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b5261eafa2b18255092b5ef3f272e008984a4455;p=clang [Sema][NFC] Mark DR1563 as done (List-initialization and overloaded function disambiguation) It has been supported since at least clang 3.1 so just mark it as done. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358679 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CXX/drs/dr15xx.cpp b/test/CXX/drs/dr15xx.cpp index cca4509fa0..bd714865ee 100644 --- a/test/CXX/drs/dr15xx.cpp +++ b/test/CXX/drs/dr15xx.cpp @@ -236,6 +236,16 @@ namespace dr1560 { // dr1560: 3.5 const X &x = true ? get() : throw 0; } +namespace dr1563 { // dr1563: yes +#if __cplusplus >= 201103L + double bar(double) { return 0.0; } + float bar(float) { return 0.0f; } + + using fun = double(double); + fun &foo{bar}; // ok +#endif +} + namespace dr1573 { // dr1573: 3.9 #if __cplusplus >= 201103L // ellipsis is inherited (p0136r1 supersedes this part).