projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e37beb
)
[Sema][NFC] Mark DR1563 as done (List-initialization and overloaded function disambig...
author
Bruno Ricci
<riccibrun@gmail.com>
Thu, 18 Apr 2019 15:45:08 +0000
(15:45 +0000)
committer
Bruno Ricci
<riccibrun@gmail.com>
Thu, 18 Apr 2019 15:45:08 +0000
(15:45 +0000)
It has been supported since at least clang 3.1 so just mark it as done.
llvm-svn: 358679
clang/test/CXX/drs/dr15xx.cpp
patch
|
blob
|
history
diff --git
a/clang/test/CXX/drs/dr15xx.cpp
b/clang/test/CXX/drs/dr15xx.cpp
index
cca4509
..
bd71486
100644
(file)
--- a/
clang/test/CXX/drs/dr15xx.cpp
+++ b/
clang/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).