URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [operators31.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed operators
// opr-del file
// From: Eberhard Mattes <mattes@azu.informatik.uni-stuttgart.de>
// Date: Thu, 4 Aug 94 08:19:20 +0200
// Subject: delete [] A::s
// Message-ID: <9408040619.AA27602@azu.informatik.uni-stuttgart.de>
class A
{
char *s;
public:
void f ();
};
void A::f ()
{
delete [] A::s;
}