OSDN Git Service

PR c++/51318
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Dec 2011 22:28:38 +0000 (22:28 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Dec 2011 22:28:38 +0000 (22:28 +0000)
commitab98db53d3e6829e061f862d9bcb9d695112f8ca
tree72c3586becdc548da2d22a9612b89d1ffdc537bf
parent607cc249b990ae3c2ade08804305eb37ba7522d4
PR c++/51318
* typeck.c (build_x_conditional_expr): Restrict glvalue games to C++11.

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