Sign in
gnu
/
gcc
/
refs/tags/prereleases/egcs-1.1.1-pre
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
temporary5.C
blob: 07033d0e934c9e597d9cb8c8d92711fa4d4cf9c2 [
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
;
}
};
main
()
{
A
::
A
();
return
c
;
}