summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorTan S. B. <cpplearner@outlook.com>2019-08-17 20:57:52 +0000
committerTan S. B. <cpplearner@outlook.com>2019-08-17 20:57:52 +0000
commit8fd6aa5ed2d61d6ebba1185f59fe0e57fd218429 (patch)
tree2da4eca029adeb7e2365ba5531cd81613456fcd8 /clang/test
parent032e1fdcd47ef98936c88aa30571c6a713179a46 (diff)
downloadbcm5719-llvm-8fd6aa5ed2d61d6ebba1185f59fe0e57fd218429.tar.gz
bcm5719-llvm-8fd6aa5ed2d61d6ebba1185f59fe0e57fd218429.zip
[SemaDeclCXX] Allow inheriting constructor declaration to specify a cv-qualified type
Differential Revision: https://reviews.llvm.org/D47419 llvm-svn: 369196
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/CXX/special/class.inhctor/elsewhere.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CXX/special/class.inhctor/elsewhere.cpp b/clang/test/CXX/special/class.inhctor/elsewhere.cpp
index c042834b214..f86f4b86faa 100644
--- a/clang/test/CXX/special/class.inhctor/elsewhere.cpp
+++ b/clang/test/CXX/special/class.inhctor/elsewhere.cpp
@@ -62,3 +62,4 @@ struct G : T {
G(int &) : G(0) {}
};
G<B1> g(123);
+G<const B1> g2(123);
OpenPOWER on IntegriCloud