Sign in
gnu
/
gcc
/
1126a05deadda1ef363e0f78fd802c8ee0ea5b56
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
delete3.C
blob: 8bffb9aca86cb1c766ca4299bfd5a3f80a32cdb8 [
file
] [
log
] [
blame
]
// PRMS Id: 6093
class
A
{
public
:
A
();
~
A
();
protected
:
void
operator
delete
(
void
*);
// ERROR - protected
};
A
::~
A
()
{
}
void
foo
(
A
*
p
)
{
delete
p
;
// ERROR - in this context
}