mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-05-01 07:51:29 +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:
7
tests/mini/bug19.d
Normal file
7
tests/mini/bug19.d
Normal file
@@ -0,0 +1,7 @@
|
||||
module bug19;
|
||||
|
||||
void main()
|
||||
{
|
||||
auto dg = (int i) { return i*2; };
|
||||
assert(dg(2) == 4);
|
||||
}
|
||||
Reference in New Issue
Block a user