Commit 51e8f10c by Volker Reichelt Committed by Volker Reichelt

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
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>
* 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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment