repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
main1.C
blob
0e5a07f6aae901321ef968415107be8ce11fb649
1
// Build don't link:
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