diff options
author | Bruno Ricci <riccibrun@gmail.com> | 2019-04-18 15:45:08 +0000 |
---|---|---|
committer | Bruno Ricci <riccibrun@gmail.com> | 2019-04-18 15:45:08 +0000 |
commit | b5261eafa2b18255092b5ef3f272e008984a4455 (patch) | |
tree | 41cc4e0a3a0bdbc3e150a9b73bde5d19a6a55275 /test/CXX | |
parent | fae48cfc1b4cbd011d671aa0a6d82d50fb882852 (diff) |
[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
Diffstat (limited to 'test/CXX')
-rw-r--r-- | test/CXX/drs/dr15xx.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
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). |