Mercurial > projects > dstress
diff run/v/variadic_argument_07_G.d @ 1560:36bedfa079e6
D1 -> D2 : 2/N
author | thomask |
---|---|
date | Sun, 19 Aug 2007 19:15:01 +0000 |
parents | b8c0195059d9 |
children |
line wrap: on
line diff
--- a/run/v/variadic_argument_07_G.d Sun Aug 19 19:11:54 2007 +0000 +++ b/run/v/variadic_argument_07_G.d Sun Aug 19 19:15:01 2007 +0000 @@ -10,7 +10,7 @@ int counter; -void test(wchar[] s){ +void test(wstring s){ if(s != "string"){ assert(0); } @@ -26,9 +26,9 @@ assert(0); } - wchar[] string = "string"; + wstring x = "string"; - test(string); + test(x); if(counter != 1){ assert(0); }