/cp
commit7664f7a03618352747ef39ab471f2569373c614e
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Jan 2014 09:40:28 +0000 (7 09:40 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Jan 2014 09:40:28 +0000 (7 09:40 +0000)
tree73fefc4bdfec92bfe670fbd49f73b7271f440fde
parent177a616b3b34ffb9e0d71acbfe205ebaff1b0ade
/cp
2014-01-07  Paolo Carlini  <paolo.carlini@oracle.com>

* semantics.c (trait_expr_value, [CPTK_IS_BASE_OF]): Implement
the letter of 20.11.6 about Base and Derived naming the same
class type modulo cv-qualifiers.

/testsuite
2014-01-07  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/ext/is_base_of_incomplete-2.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206386 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/is_base_of_incomplete-2.C [new file with mode: 0644]