Commit 72b1c4da by Alexandre Oliva Committed by Alexandre Oliva

main1.C: New test.

	* g++.old-deja/g++.ns/main1.C: New test.  main() should only be
 	reserved in the global namespace

From-SVN: r22992
parent 7f6391b2
1998-10-11 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.ns/main1.C: New test. main() should only be
reserved in the global namespace
* g++.old-deja/g++.pt/instantiate4.C: New test: -frepo does not
generate needed virtual table
......
// Build don't link:
// main is only reserved in the global namespace [basic.start.main]/3
// submitted by Gerald Gutierrez <gutier@intergate.bc.ca>
// excess errors test - XFAIL *-*-*
namespace A { void main () { } }
namespace B { void main () { } }
namespace C {
void main () { }
namespace D {
void main () { }
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment