re PR c++/48557 ([C++0x][SFINAE] Hard errors with void as operand of binary built...
authorJason Merrill <jason@redhat.com>
Thu, 14 Apr 2011 15:00:07 +0000 (11:00 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 14 Apr 2011 15:00:07 +0000 (11:00 -0400)
commita66e8081b522edc78354e41ded044a597dc100d9
tree64bb12f2325cebf596435e2fd2baf692a2ade6dd
parentfe5b5c364b49300ba7e1e283f03f593d3e37524a
re PR c++/48557 ([C++0x][SFINAE] Hard errors with void as operand of binary built-in operators)

PR c++/48557
* typeck.c (cp_build_binary_op): Don't decay void operands.

From-SVN: r172433
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/sfinae14.C [new file with mode: 0644]