Mercurial > projects > dstress
diff run/typeid_84.d @ 566:a82c4eea402e
included string mapping tests for function and delegate
author | thomask |
---|---|
date | Sat, 04 Jun 2005 18:36:29 +0000 |
parents | 111c6744074d |
children | 32f7f8ce5e51 |
line wrap: on
line diff
--- a/run/typeid_84.d Sat Jun 04 18:34:39 2005 +0000 +++ b/run/typeid_84.d Sat Jun 04 18:36:29 2005 +0000 @@ -9,9 +9,10 @@ module dstress.run.typeid_84; int main(){ - alias void function() func; + alias byte function(int) func; TypeInfo ti = typeid(func); assert(ti !== null); assert(ti.tsize == func.sizeof); + assert(ti.toString() == "byte(int)*"); return 0; }