re PR c++/56450 (ICE with SFINAE when detecting non-static member variable)
authorPaolo Carlini <paolo.carlini@oracle.com>
Sun, 28 Apr 2013 22:56:44 +0000 (22:56 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 28 Apr 2013 22:56:44 +0000 (22:56 +0000)
commit4882d82a27be94484f38bb4f998b7e4ffa5772d1
tree1e002582c793cbd7808194ef10ddd65c2b60259e
parent01187df0970be20c06628f280ce07524db49d585
re PR c++/56450 (ICE with SFINAE when detecting non-static member variable)

/cp
2013-04-28  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/56450
* semantics.c (finish_decltype_type): Handle COMPOUND_EXPR.

/testsuite
2013-04-28  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/56450
* g++.dg/cpp0x/decltype52.C: New.

From-SVN: r198381
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/decltype52.C [new file with mode: 0644]