Files
ldc/test/bug77.d
Tomas Lindquist Olsen 935dfae9c8 [svn r124] Fixed another D vararg + return in ptr bug.
Fixed some nested function calls failed to resolve the context ptr.
2007-11-26 07:26:21 +01:00

18 lines
233 B
D

module bug77;
import std.c.string;
void main()
{
size_t len;
void func2()
{
char* prefix = "";
void func()
{
len = strlen(prefix);
assert(len == 0);
}
}
func2();
}