Sign in
gnu
/
gcc
/
251a817e23053b543f04f101c675f5513bbb1865
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
misc3.C
blob: d632cb733f9d93c47125ecd84e52bdf34cc14c1a [
file
] [
log
] [
blame
]
// Build don't link:
// GROUPS passed miscellaneous-bugs
// The compiler should not error about taking the addr of main in this example.
class
fred
{
private
:
void
main
()
{
}
public
:
fred
(
)
{
&
fred
::
main
;
}
};