Mercurial > projects > dstress
view run/i/is_13_A.d @ 1440:5224177dd804
r7388@birke: tk | 2007-03-29 15:55:00 +0200
is -> static is
author | thomask |
---|---|
date | Sat, 31 Mar 2007 08:25:50 +0000 |
parents | 9dcac8d4e97f |
children | b8c0195059d9 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Sean Kelly <sean@f4.ca> // @date@ 2006-03-15 // @uri@ news:dv9okf$mfp$1@digitaldaemon.com module dstress.run.i.is_13_A; class C{ int dummy; int test(int i){ return i * dummy; } } int main(){ static if(!is(C.test == delegate)){ static assert(0); } return 0; }