☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
misc3.C
☽
☼
gcc/testsuite/g++.old-deja/g++.brendan/misc3.C
code
plain
raw
1
// { dg-do assemble }
2
// GROUPS passed miscellaneous-bugs
3
// The compiler should not error about taking the addr of main in this example.
4
class fred {
5
private:
6
void main () {
7
}
8
public:
9
fred ( ) {
10
&fred::main;
11
}
12
};