diff options
| author | Nathan Sidwell <nathan@codesourcery.com> | 2003-01-25 18:02:43 +0000 | 
|---|---|---|
| committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2003-01-25 18:02:43 +0000 | 
| commit | bbaab9162a854dd2225f38cb42e0c3666a9462ec (patch) | |
| tree | bbea47d7b8e0183a5f7884bf430c0c75e59768f9 /libjava/java/sql/Date.java | |
| parent | 8324663fcbeb40a837e46fa65d1252124345d565 (diff) | |
| download | gcc-bbaab9162a854dd2225f38cb42e0c3666a9462ec.zip gcc-bbaab9162a854dd2225f38cb42e0c3666a9462ec.tar.gz gcc-bbaab9162a854dd2225f38cb42e0c3666a9462ec.tar.bz2 | |
re PR c++/9403 (parse error on template keyword used for disambiguation)
cp:
	PR c++/9403
	* parser.c (cp_parser_class_or_namespace_name): Reject duplicate
	template keyword.
	(cp_parser_base_specifier): Look for and consume a
	TEMPLATE keyword. Replace switch with array index.
	PR c++/795
	* semantics.c (finish_non_static_data_member): Remember the
	field's type even in a template.
	PR c++/9415
	* pt.c (tsubst_copy_and_build, CALL_EXPR): BASELINK exprs are
	already scoped.
	PR c++/8545
	* parser.c (cp_parser_cast_expression): Be more tentative.
testsuite:
	PR c++/9403
	* g++.dg/parse/template3.C: New test.
	* g++.old-deja/g++.pt/memclass5.C: Add needed template keyword.
	PR c++/795
	* g++.dg/parse/template4.C: New test.
	PR c++/9415
	* g++.dg/template/qual2.C: New test.
	PR c++/8545
	* g++.old-deja/g++.brendan/parse3.C: Remove XFAIL.
	* g++.old-deja/g++.ns/bogus1.C: Change expected error.
From-SVN: r61791
Diffstat (limited to 'libjava/java/sql/Date.java')
0 files changed, 0 insertions, 0 deletions
