Menu
Home
Create new Paste
Log in
Code
Theme: cobalt
Theme: eclipse
Theme: elegant
Theme: monokai
Theme: neat
Theme: night
Theme: rubyblue
string genStruct(string stringname) { return "struct " ~ stringname ~ " { //.... }"; } mixin(genStruct("s1")); mixin(genStruct("s2")); static assert(is(s1)); static assert(is(s2)); void main() {}
Result:
Success
/
Return code: 0
/
Compilation time:
0.1
seconds
/
Run time:
0.001
seconds
Disassembly
Username
Message
Add comment
Paste info
Author:
Guest
Views:
71
Private:
no
Expires:
Never
Uploaded:
10.12.12 21:17
Parent:
#5d4cb742
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