aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/operators31.C
blob: a2ba7201d6b9fd46e2a2808d961c44cdf869066b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Build don't link: 
// 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;
}