[svn r72] Calling a nested function that is not a delegate was not working.

This commit is contained in:
Tomas Lindquist Olsen
2007-10-28 03:14:29 +01:00
parent feea94424c
commit b5433b6054
3 changed files with 23 additions and 0 deletions

12
test/nested3.d Normal file
View File

@@ -0,0 +1,12 @@
module nested3;
void main()
{
int i;
void test()
{
i = 3;
}
test();
assert(i == 3);
}