Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
p5673.C
blob: 759d5d8b663148eafdc5f31778a183306ec81361 [
file
] [
log
] [
blame
]
// { dg-do run }
// prms-id: 5673
class
A
{
public
:
operator
int
()
{
return
7
;
}
~
A
();
};
int
foo
()
{
return
A
();
}
int
main
()
{
return
foo
()
!=
7
;
}
A
::~
A
()
{
}