Created
March 9, 2013 10:16
-
-
Save jpf91/5123738 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)"); throw new Exception("");} | |
~this(){writelln("~this()";}; | |
uint data; | |
} | |
void test(Date d) | |
{ | |
} | |
void main() | |
{ | |
Date nd; | |
auto b = nd; | |
auto c = nd; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment