summaryrefslogtreecommitdiff
path: root/test/CXX/special
diff options
context:
space:
mode:
authorLarisse Voufo <lvoufo@google.com>2015-01-27 18:47:05 +0000
committerLarisse Voufo <lvoufo@google.com>2015-01-27 18:47:05 +0000
commit619b4a3e657b37ca1b1a77eae9f1f6ca3b3ef897 (patch)
tree7098a613f51a29796a61732a1fd0582a0ab5eab4 /test/CXX/special
parent280459d35f0ea08018261140b8bc300c9e704d23 (diff)
downloadclang-619b4a3e657b37ca1b1a77eae9f1f6ca3b3ef897.tar.gz
Implement the remaining portion of DR1467 from r227022. I may have overlooked a few things, but this implementation comes straight from the DR resolution itself.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@227224 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CXX/special')
-rw-r--r--test/CXX/special/class.inhctor/p2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CXX/special/class.inhctor/p2.cpp b/test/CXX/special/class.inhctor/p2.cpp
index e6abd6840e..d1c16ff886 100644
--- a/test/CXX/special/class.inhctor/p2.cpp
+++ b/test/CXX/special/class.inhctor/p2.cpp
@@ -96,7 +96,7 @@ struct TemplateCtors {
template<typename T = int> TemplateCtors(int, int = 0, int = 0); // expected-note {{inherited from here}}
};
-struct UsingTemplateCtors : TemplateCtors {
+struct UsingTemplateCtors : TemplateCtors { // expected-note 2{{candidate is the implicit}}
using TemplateCtors::TemplateCtors; // expected-note 4{{here}} expected-note {{candidate}}
constexpr UsingTemplateCtors(X<0>, X<0>) {}