mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-24 12:49:12 +02:00
[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
This commit is contained in:
22
tests/mini/stdiotest2.d
Normal file
22
tests/mini/stdiotest2.d
Normal file
@@ -0,0 +1,22 @@
|
||||
module stdiotest2;
|
||||
import std.stdio;
|
||||
void main()
|
||||
{
|
||||
int[4] v = [1,2,3,4];
|
||||
{
|
||||
writefln("%s", v);
|
||||
{
|
||||
int[] dv = v;
|
||||
{writefln("%s", dv);}
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
writefln(v);
|
||||
{
|
||||
//int[] dv = v;
|
||||
//{writefln(dv);}
|
||||
}
|
||||
}
|
||||
//writefln(1,2,3,4.56,"hello",v);
|
||||
}
|
||||
Reference in New Issue
Block a user