re PR c++/5661 (Gcc 3.0.3 Seg faults compiling bad code)
PR c++/5661 * cp-tree.h (variably_modified_type_p): New function. (grokdeclarator) Tighten check for variably modified types as fields. * pt.c (convert_template_argument): Do not allow variably modified types as template arguments. * tree.c (variably_modified_type_p): New function. PR c++/5661 * g++.dg/ext/vlm1.C: New test. * g++.dg/ext/vlm2.C: Likewise. From-SVN: r58060
Showing
gcc/testsuite/g++.dg/ext/vlm1.C
0 → 100644
gcc/testsuite/g++.dg/ext/vlm2.C
0 → 100644
Please
register
or
sign in
to comment