mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-02 18:19:03 +02:00
[svn r72] Calling a nested function that is not a delegate was not working.
This commit is contained in:
12
test/nested3.d
Normal file
12
test/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