Sign in
gnu
/
gcc
/
8353b540e6bf07bc4de944da9c3772c619f86a9c
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
temporary5.C
blob: 6a2469e3627285c251529a2caf3b051c829d7fc3 [
file
] [
log
] [
blame
]
// PRMS Id: 6604
// Bug: Scoped constructor call is not properly recognized as a functional cast
int
c
;
struct
A
{
A
()
{
++
c
;
}
~
A
()
{
--
c
;
}
operator
int
()
{
return
1
;
}
};
int
main
()
{
A
::
A
();
return
c
;
}