Skip to content

Instantly share code, notes, and snippets.

@SiegeLord
Created June 20, 2013 15:37
Show Gist options
  • Save SiegeLord/5823845 to your computer and use it in GitHub Desktop.
Save SiegeLord/5823845 to your computer and use it in GitHub Desktop.
D bug
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)
{
}
}
import bug;
void main()
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment