Created
March 9, 2013 09:54
-
-
Save jpf91/5123683 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import std.stdio; | |
struct Date | |
{ | |
this(this){writeln("this(this)");} | |
~this(){writeln("~this()");}; | |
uint data; | |
} | |
void test(Date d) | |
{ | |
} | |
void main() | |
{ | |
Date nd; | |
(cast(void function(Date))null)(nd); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment