Sign in
gnu
/
gcc
/
418f81eefb6540582e4818225404d4a647ad67eb
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
ebnull-cast.C
blob: d220e9089cf515e08852410dd0e7efea7475d373 [
file
] [
log
] [
blame
]
class
null
{
null
(
null
const
&);
void
operator
&
();
public
:
null
()
{}
template
<
typename
T
>
operator
T
*
()
const
{
return
0
;
}
}
const
null
;
int
main
()
{
int
*
p
=
static_cast
<
int
*>(
null
);
return
0
;
}