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
This commit is contained in:
parent
91d876d91c
commit
51e8f10cf6
3 changed files with 23 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
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
|
||||
|
|
5
libmudflap/testsuite/libmudflap.c++/error1-frag.cxx
Normal file
5
libmudflap/testsuite/libmudflap.c++/error1-frag.cxx
Normal file
|
@ -0,0 +1,5 @@
|
|||
// PR 26789
|
||||
// { dg-do compile }
|
||||
|
||||
struct A;
|
||||
A a; // { dg-error "incomplete" }
|
10
libmudflap/testsuite/libmudflap.c++/error2-frag.cxx
Normal file
10
libmudflap/testsuite/libmudflap.c++/error2-frag.cxx
Normal file
|
@ -0,0 +1,10 @@
|
|||
// PR 26790
|
||||
// { dg-do compile }
|
||||
|
||||
struct A;
|
||||
|
||||
A foo() // { dg-error "incomplete" }
|
||||
{
|
||||
A a; // { dg-error "incomplete" }
|
||||
return a;
|
||||
}
|
Loading…
Add table
Reference in a new issue