Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #268: filepathtest.d

File filepathtest.d, 254 bytes (added by xammy, 2 years ago)
Line 
1 import tango.io.FilePath;
2 import tango.io.FileSystem;
3 import tango.core.Memory;
4
5 int main(char[][] args)
6 {
7     for (int i=0; i<1000; i++)
8     {
9         for (int j=0; j<100000; j++)
10         {
11             FilePath fp = FileSystem.getDirectory();
12         }
13         gc.collect();
14     }
15
16     return 0;
17 }