Sign in
gnu
/
gcc
/
75bbfcfa8623f5b211475a54f52ced32201575e7
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
p5469.C
blob: 9af201011713d2a0ae29485906e6ce31375f530c [
file
] [
log
] [
blame
]
// prms-id: 5469
int
count
;
class
A
{
A
();
A
(
const
A
&);
public
:
A
(
int
)
{
++
count
;
}
~
A
()
{
--
count
;
}
int
operator
==
(
const
A
&
r
)
{
return
0
;
}
};
int
main
()
{
{
A a
(
1
);
if
(
a
==
2
&&
a
==
1
)
;
}
return
count
;
}