re PR c++/16205 (ICE with -Wall on no-throw specifier)

2004-06-27  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/16205
        * g++.dg/warn/Wsequence-point-1.C: New test.

From-SVN: r83760
This commit is contained in:
Andrew Pinski 2004-06-28 02:14:53 +00:00 committed by Andrew Pinski
parent e3790655bc
commit 10317a4f43
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-06-27 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/16205
* g++.dg/warn/Wsequence-point-1.C: New test.
2004-06-27 Paul Brook <paul@codesourcery.com>
* gfortran.fortran-torture/execute/specfics.f90: Use correct typing.

View File

@ -0,0 +1,11 @@
// { dg-do compile }
// { dg-options "-Wsequence-point" }
struct C
{
~C() throw();
};
void t_test1 (C* mapping)
{
delete [] mapping;
}