init.c (build_new): Allow enumeration types for the array-bounds in a direct-new...
authorMark Mitchell <mark@codesourcery.com>
Sun, 18 Feb 2001 05:59:45 +0000 (05:59 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 18 Feb 2001 05:59:45 +0000 (05:59 +0000)
commit12fa82db7dcdad8d8fbe5a582216bd2b3667d529
treecd5f8c6c3cf53abb223c76d5f99be70b621c9371
parent7afe8c419bb43051d7b9aa8a5be0de2c1bd83bfc
init.c (build_new): Allow enumeration types for the array-bounds in a direct-new-declarator.

* init.c (build_new): Allow enumeration types for the array-bounds
in a direct-new-declarator.

* semantics.c (finish_typeof): Resolve OFFSET_REFs.

From-SVN: r39817
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/cp/semantics.c
gcc/testsuite/g++.old-deja/g++.ext/typeof2.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.other/array4.C [new file with mode: 0644]