re PR c++/42623 ([C++0x] Function template default arguments: Invalid expressions...
authorJason Merrill <jason@redhat.com>
Fri, 9 Apr 2010 15:20:58 +0000 (11:20 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 9 Apr 2010 15:20:58 +0000 (11:20 -0400)
commitcb6addf4a64fca93edee920a0014b73afd80adb1
treea2bf79f50c99b47d455df41064956fe68fea2b12
parent93e9807aa58db6181185ec664e23022ae2ce6725
re PR c++/42623 ([C++0x] Function template default arguments: Invalid expressions are allowed)

PR c++/42623
* c-common.c (c_sizeof_or_alignof_type): Return error_mark_node
for incomplete type.

From-SVN: r158167
gcc/ChangeLog
gcc/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/sizeof13.C [new file with mode: 0644]