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
/
ice10283.d
blob
489c45efe6696b7a4ff8991a975643c5fd9c7fb1
1
// https://issues.dlang.org/show_bug.cgi?id=10283
2
/*
3
TEST_OUTPUT:
4
---
5
fail_compilation/ice10283.d(14): Error: cannot implicitly convert expression `7` of type `int` to `string`
6
---
7
*/
8
9
S10283
blah
(
S10283 xxx
) {
return
xxx
; }
10
S10283 repy
=
blah
(
S10283
());
11
12
struct
S10283
13
{
14
string source
=
7
;
15
}