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
d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
main.d
blob
42a8a43062f2dfb0e39067fb80a9359f1c0372ba
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/main.d(9): Error: only one entry point `main`$?:windows=, `WinMain` or `DllMain`$ is allowed
5
fail_compilation/main.d(8): previously found `void main()` here
6
---
7
*/
8
void
main
() {}
9
void
main
(
string
[]
args
) {}