comparison test/bug77.d @ 120:5ce8ab11e75a trunk

[svn r124] Fixed another D vararg + return in ptr bug. Fixed some nested function calls failed to resolve the context ptr.
author lindquist
date Mon, 26 Nov 2007 07:26:21 +0100
parents
children 9c79b61fb638
comparison
equal deleted inserted replaced
119:79c9ac745fbc 120:5ce8ab11e75a
1 module bug77;
2 import std.c.string;
3 void main()
4 {
5 size_t len;
6 void func2()
7 {
8 char* prefix = "";
9
10 void func()
11 {
12 len = strlen(prefix);
13 assert(len == 0);
14 }
15 }
16 func2();
17 }