Mercurial > projects > dstress
view compile/o/opCat_21_C.d @ 1586:a74f0139fc3d
Fix tests using typeof on types.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 21 Aug 2008 15:42:21 +0200 |
parents | daef239f37cf |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Stewart Gordon <smjg@iname.com> // @date@ 2006-09-16 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=353 // @desc@ [Issue 353] New: null passed as a char[] template argument, concatenated with a string literal, is a non-constant expression module dstress.compile.o.opCat_21_C; const char[] a = null; const char[] b = a ~ "cat"; static assert(b == "cat");