PR c++/15766 - bad parse error recovery (2 bugs)

gcc/testsuite/ChangeLog:
2016-02-26  Martin Sebor  <msebor@redhat.com>

	PR c++/15766
	* g++.old-deja/g++.other/decl5.C: Add a test case.

From-SVN: r233765
This commit is contained in:
Martin Sebor 2016-02-26 14:50:15 -07:00
parent 7d081272f6
commit e3e0cf6446
2 changed files with 13 additions and 2 deletions

View File

@ -1,12 +1,17 @@
2016-02-26 Martin Sebor <msebor@redhat.com>
PR c++/15766
* g++.old-deja/g++.other/decl5.C: Add a test case.
2016-02-26 Segher Boessenkool <segher@kernel.crashing.org>
PR target/69946
* gcc.target/powerpc/pr69946.c: New file.
2016-02-26 Richard Biener <rguenther@suse.de>
Jeff Law <law@redhat.com>
Jeff Law <law@redhat.com>
PR tree-optimization/69740
PR tree-optimization/69740
* gcc.c-torture/compile/pr69740-1.c: New test.
* gcc.c-torture/compile/pr69740-2.c: New test.

View File

@ -77,3 +77,9 @@ void NMS::fn()
{
i = 3;
}
// From PR c++/15766 - bad parse error recovery (2 bugs)
void confusion1(const UndefinedType& a) // { dg-error "does not name a type" }
{
}