Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberShadow committed Jun 19, 2015
1 parent 7bf83a6 commit aaf728b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/compilable/compile1.d
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,19 @@ auto bug6650(X)(X y)
static assert(!is(typeof(bug6650!(int)(6))));
static assert(!is(typeof(bug6650!(int)(18))));

/**************************************************
14710 VC-built DMD crashes on templated variadic function IFTI
**************************************************/

void bug14710a(T)(T val, T[] arr...)
{
}

void bug14710b()
{
bug14710a("", "");
}

/**************************************************
6661 Templates instantiated only through is(typeof()) shouldn't cause errors
**************************************************/
Expand Down

0 comments on commit aaf728b

Please sign in to comment.