aboutsummaryrefslogtreecommitdiff
path: root/test/Index/code-completion.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-02-21 18:30:38 +0000
committerDouglas Gregor <dgregor@apple.com>2010-02-21 18:30:38 +0000
commit12116062c8243c6f88d79dac9663a359b77741c6 (patch)
tree9770cb5d561975211fd273d93d92652d5906cdb3 /test/Index/code-completion.cpp
parentc144f3534e2f7a70ea9ebf8dd83090a2883d61fb (diff)
A constructor template cannot be used to copy to an object of the same class type (per C++ [class.copy]p3). Make sure that includes copies that involve a derived-to-base conversion. Fixes PR6141.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96742 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/code-completion.cpp')
0 files changed, 0 insertions, 0 deletions