annotate tests/mini/bug54.d @ 1641:00cd99bedf06
Add missing files for the new frontend spell checker
author |
Kelly Wilson <wilsonk cpsc.ucalgary.ca> |
date |
Mon, 08 Mar 2010 17:41:36 -0700 |
parents |
1bb99290e03a |
children |
|
rev |
line source |
91
|
1 module bug54;
|
|
2
|
|
3 extern(C) size_t strlen(char*);
|
|
4
|
|
5 // creating args for main
|
|
6 void d_main_args(size_t n, char** args, ref char[][] res)
|
|
7 {
|
|
8 assert(res.length == n);
|
|
9 foreach(i,v; args[0..n])
|
|
10 {
|
|
11 res[i] = v[0 .. strlen(v)];
|
|
12 }
|
|
13 }
|
|
14
|
|
15 void main()
|
|
16 {
|
|
17 }
|