summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/warn/Wsequence-point-1.C
blob: fb5b8a1a8cb2cc98370fdc62c41d9b85faecd51c (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do compile }
// { dg-options "-Wsequence-point" }
struct C
{
  ~C() throw();
};

void t_test1 (C* mapping)
{
  delete [] mapping;
}