Created
June 20, 2013 15:37
-
-
Save SiegeLord/5823845 to your computer and use it in GitHub Desktop.
D bug
This file contains hidden or 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
struct A() | |
{ | |
int opCmp(const ref A p) const | |
{ | |
return 0; | |
} | |
string toString() | |
{ | |
return ""; | |
} | |
} | |
struct B() | |
{ | |
void foo() | |
{ | |
auto a = new A!(); | |
} | |
} | |
struct C | |
{ | |
alias A!() a_t; | |
this(B!() b) | |
{ | |
} | |
} |
This file contains hidden or 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 bug; | |
void main() | |
{ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment