Showing with 21 additions and 0 deletions.
  1. +4 −0 src/dmd_msc.vcproj
  2. +1 −0 src/dmd_msc.vcxproj
  3. +3 −0 src/dmd_msc.vcxproj.filters
  4. +13 −0 test/compilable/compile1.d
4 changes: 4 additions & 0 deletions src/dmd_msc.vcproj
Original file line number Diff line number Diff line change
Expand Up @@ -1428,6 +1428,10 @@
RelativePath=".\root\man.c"
>
</File>
<File
RelativePath=".\root\newdelete.c"
>
</File>
<File
RelativePath=".\root\object.c"
>
Expand Down
1 change: 1 addition & 0 deletions src/dmd_msc.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@
<ClCompile Include="root\checkedint.c" />
<ClCompile Include="root\longdouble.c" />
<ClCompile Include="root\man.c" />
<ClCompile Include="root\newdelete.c" />
<ClCompile Include="root\port.c" />
<ClCompile Include="root\response.c" />
<ClCompile Include="root\rmem.c" />
Expand Down
3 changes: 3 additions & 0 deletions src/dmd_msc.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,9 @@
<ClCompile Include="root\man.c">
<Filter>src\root</Filter>
</ClCompile>
<ClCompile Include="root\newdelete.c">
<Filter>src\root</Filter>
</ClCompile>
<ClCompile Include="root\port.c">
<Filter>src\root</Filter>
</ClCompile>
Expand Down
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