Skip to content
Snippets Groups Projects
Commit 51e8f10c authored by Volker Reichelt's avatar Volker Reichelt Committed by Volker Reichelt
Browse files

re PR c++/26789 (ICE on incomplete struct with -fmudflap)

	PR mudflap/26789
	* testsuite/libmudflap.c++/error1-frag.cxx: New test.

	PR mudflap/26790
	* testsuite/libmudflap.c++/error2-frag.cxx: New test.

From-SVN: r113095
parent 91d876d9
No related branches found
No related tags found
No related merge requests found
2006-04-19 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR mudflap/26789
* testsuite/libmudflap.c++/error1-frag.cxx: New test.
PR mudflap/26790
* testsuite/libmudflap.c++/error2-frag.cxx: New test.
2006-04-10 Matthias Klose <doko@debian.org> 2006-04-10 Matthias Klose <doko@debian.org>
* testsuite/lib/libmudflap.exp (libmudflap-init): Recognize multilib * testsuite/lib/libmudflap.exp (libmudflap-init): Recognize multilib
......
// PR 26789
// { dg-do compile }
struct A;
A a; // { dg-error "incomplete" }
// PR 26790
// { dg-do compile }
struct A;
A foo() // { dg-error "incomplete" }
{
A a; // { dg-error "incomplete" }
return a;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment