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:
parent
e3790655bc
commit
10317a4f43
@ -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.
|
||||
|
11
gcc/testsuite/g++.dg/warn/Wsequence-point-1.C
Normal file
11
gcc/testsuite/g++.dg/warn/Wsequence-point-1.C
Normal file
@ -0,0 +1,11 @@
|
||||
// { dg-do compile }
|
||||
// { dg-options "-Wsequence-point" }
|
||||
struct C
|
||||
{
|
||||
~C() throw();
|
||||
};
|
||||
|
||||
void t_test1 (C* mapping)
|
||||
{
|
||||
delete [] mapping;
|
||||
}
|
Loading…
Reference in New Issue
Block a user