Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.ns/main1.C

raw
1 // { dg-do assemble }
2
3 // main is only reserved in the global namespace [basic.start.main]/3
4
5 // submitted by Gerald Gutierrez <[email protected]>
6
7 namespace A { void main () { } }
8 namespace B { void main () { } }
9 namespace C {
10 void main () { }
11 namespace D {
12 void main () { }
13 }
14 }
15