mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-13 19:33:13 +01:00
T main(string[] args) fixed a bug with slicing a pointer that is an argument with no storage
10 lines
124 B
D
10 lines
124 B
D
module mainargs1;
|
|
|
|
void main(string[] args)
|
|
{
|
|
foreach(v; args)
|
|
{
|
|
printf("%.*s\n", v.length, v.ptr);
|
|
}
|
|
}
|