Mercurial > projects > dstress
view run/s/string_postfix_06_A.d @ 736:1e6afb94ce6d
updated meta data for Torture
author | thomask |
---|---|
date | Sat, 12 Nov 2005 07:28:46 +0000 |
parents | |
children | 36bedfa079e6 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstress.run.s.string_postfix_06_A; int test(char[] a){ return a.length; } int test(wchar[] a){ return a.length + 100; } int test(dchar[] a){ return a.length + 10000; } int main(){ assert(test("a"c "b"c)==2); return 0; }