Sign in
llvm
/
llvm-archive
/
7c2014e6d10413401c0984772345d9d61701eeba
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
misc3.C
blob: c2a116519548a45e6c58e51b80adde0c7d30efd4 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// 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
;
}
};