OSDN Git Service

Restrict DR 757 change to C++0x mode.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.ns / main1.C
1 // { dg-do assemble  }
2
3 // main is only reserved in the global namespace [basic.start.main]/3
4
5 // submitted by Gerald Gutierrez <gutier@intergate.bc.ca>
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