annotate tests/mini/typeinfo3.d @ 883:b52d5de7783f

GC defines and linkage changes.
author Christian Kamm <kamm incasoftware de>
date Thu, 08 Jan 2009 18:20:02 +0100
parents 1bb99290e03a
children
rev   line source
lindquist@54 1 module typeinfo3;
lindquist@54 2
lindquist@54 3 typedef int int_t;
lindquist@54 4
lindquist@54 5 void main()
lindquist@54 6 {
lindquist@100 7 /*int_t i;
lindquist@54 8 auto ti = typeid(typeof(i));
lindquist@54 9 printf("%s\n",ti.toString.ptr);
lindquist@54 10 assert(ti.toString() == "typeinfo3.int_t");
lindquist@54 11 assert(ti.next !is null);
lindquist@54 12 assert(ti.next.toString() == "int");
lindquist@100 13 assert(ti.init is null);*/
lindquist@54 14 }