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 568496d5b, druntime 178c44ff, phobos 574bf883b.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test6999.d
blob
c9f414feaa26714f8737e0858ba05e692a5a1c2c
1
// https://issues.dlang.org/show_bug.cgi?id=6999: inout in front of return type
2
3
struct
A
4
{
5
inout
:
6
inout
(
int
)
foo
()
7
{
8
return
0
;
9
}
10
}
11
12
struct
B
13
{
14
inout
15
{
16
inout
(
int
)
foo
()
17
{
18
return
0
;
19
}
20
}
21
}
22
23
struct
C
24
{
25
inout inout
(
int
)
foo
()
26
{
27
return
0
;
28
}
29
}