diff options
| author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-04 00:21:33 +0000 |
|---|---|---|
| committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-04 00:21:33 +0000 |
| commit | dcf091d4dcbc539317cc253657587931580e93ab (patch) | |
| tree | 8c59baf94a71413e1d59612c1d7bbe72c890bd64 /libjava/classpath/java/math | |
| parent | f3f9757d0c619dfe5bc52064e373157a54b8fc69 (diff) | |
| download | ppe42-gcc-dcf091d4dcbc539317cc253657587931580e93ab.tar.gz ppe42-gcc-dcf091d4dcbc539317cc253657587931580e93ab.zip | |
PR c++/31743
* parser.c (cp_parser_new_type_id): Don't reduce a named array
type to its base type and number of elements here.
* init.c (build_new): Call complete_type_or_else to ensure that the
type is complete and to issue a diagnostic if it is not.
(build_new_1): Don't call complete_type_or_else here.
PR c++/31743
* g++.dg/init/new20.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126292 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/java/math')
0 files changed, 0 insertions, 0 deletions

