d: Merge upstream dmd 568496d5b, druntime 178c44ff, phobos 574bf883b.
[official-gcc.git] / gcc / testsuite / gdc.test / compilable / test6999.d
blobc9f414feaa26714f8737e0858ba05e692a5a1c2c
1 // https://issues.dlang.org/show_bug.cgi?id=6999: inout in front of return type
3 struct A
5 inout:
6 inout(int) foo()
8 return 0;
12 struct B
14 inout
16 inout(int) foo()
18 return 0;
23 struct C
25 inout inout(int) foo()
27 return 0;