re PR c++/48452 ([C++0x][SFINAE] Failures with n-ary initialization expressions ...
authorJason Merrill <jason@redhat.com>
Thu, 7 Apr 2011 21:47:53 +0000 (17:47 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 7 Apr 2011 21:47:53 +0000 (17:47 -0400)
commit6dab6cf121a173733b7d4a4519c8eb1c573fc7cb
tree415eb405524169e42540258b6617fbe16cdbd72a
parentb46c79a1f6f5ed512218196e5d5fca8ca0545b92
re PR c++/48452 ([C++0x][SFINAE] Failures with n-ary initialization expressions (in return type))

PR c++/48452
* typeck.c (build_x_compound_expr_from_list): Return error_mark_node
in SFINAE context.

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