mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-28 01:23:14 +01:00
[svn r316] Fixed array slice assignments like: int[] arr = ...; arr[] = 42;
There was problems with most non basic types... Added an option to premake so we can do: premake --target gnu --no-boehm to disable the Boehm GC.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
module vararg4;
|
||||
import tango.core.Vararg;
|
||||
extern(C) int printf(char*, ...);
|
||||
|
||||
void vafunc(...)
|
||||
{
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
module vararg5;
|
||||
import tango.core.Vararg;
|
||||
extern(C) int printf(char*, ...);
|
||||
void func(...)
|
||||
{
|
||||
char[] str = va_arg!(char[])(_argptr);
|
||||
|
||||
Reference in New Issue
Block a user