FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.ns / main1.C
blob0e5a07f6aae901321ef968415107be8ce11fb649
1 // Build don't link:
3 // main is only reserved in the global namespace [basic.start.main]/3
5 // submitted by Gerald Gutierrez <gutier@intergate.bc.ca>
7 namespace A { void main () { } }
8 namespace B { void main () { } }
9 namespace C {
10   void main () { }
11   namespace D {
12     void main () { }
13   }