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 47871363d, druntime, c52e28b7, phobos 99e9c1b77.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
bug5.d
blob
44e4c80e806689ebd6856e2f44fa9a243f6ed351
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/bug5.d(8): Error: function `bug5.test1` no `return exp;` or `assert(0);` at end of function
5
---
6
*/
7
8
int
test1
()
9
{
10
if
(
false
)
11
return
0
;
12
}