Menu
Home
Create new Paste
Log in
Code
Theme: cobalt
Theme: eclipse
Theme: elegant
Theme: monokai
Theme: neat
Theme: night
Theme: rubyblue
struct A { string text; } void foo(ref A = A()) { _param_0.text = "foo"; } void main() { A a; foo(a); assert(a.text == "foo"); }
Result:
Success
/
Return code: 0
/
Compilation time:
0.132
seconds
/
Run time:
0.001
seconds
Disassembly
Username
Message
Add comment
Paste info
Author:
Guest
Views:
122
Private:
no
Expires:
Never
Uploaded:
11.10.12 20:45
Votes
:
0
Tweet
Compilation
Compiler:
DMD 2.060
Pointer size:
m64
Actions
Download
Fork
Raw
×
Confirm
Are you sure you want to delete this paste?
There's no way back!
×
Confirm
Reason