mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-24 23:53:13 +01:00
[svn r31] * Fixed returning through hidden pointer was unable to report back the return value
* Fixed removed some litter instructions sometimes produced by constructor calls
This commit is contained in:
4
test/bug2.d
Normal file
4
test/bug2.d
Normal file
@@ -0,0 +1,4 @@
|
||||
module bug2;
|
||||
struct Vec { Vec barf() { return Vec(); } }
|
||||
class test { this(Vec whee) { } }
|
||||
void main() { Vec whee; new test(whee.barf()); }
|
||||
Reference in New Issue
Block a user