mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-05 20:03:28 +01: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:
12
tests/mini/nested3.d
Normal file
12
tests/mini/nested3.d
Normal file
@@ -0,0 +1,12 @@
|
||||
module nested3;
|
||||
|
||||
void main()
|
||||
{
|
||||
int i;
|
||||
void test()
|
||||
{
|
||||
i = 3;
|
||||
}
|
||||
test();
|
||||
assert(i == 3);
|
||||
}
|
||||
Reference in New Issue
Block a user