mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-07-06 15:34:10 +02: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:
19
tests/mini/bug77.d
Normal file
19
tests/mini/bug77.d
Normal file
@@ -0,0 +1,19 @@
|
||||
module bug77;
|
||||
import tango.stdc.string;
|
||||
void main()
|
||||
{
|
||||
size_t len;
|
||||
void func2()
|
||||
{
|
||||
char* prefix = "";
|
||||
|
||||
void func()
|
||||
{
|
||||
len = strlen(prefix);
|
||||
assert(len == 0);
|
||||
}
|
||||
|
||||
func();
|
||||
}
|
||||
func2();
|
||||
}
|
||||
Reference in New Issue
Block a user